fix syntax for perltidy

This commit is contained in:
Johannes 'josch' Schauer 2020-08-17 18:57:36 +02:00
parent 075645289f
commit 12f41ad33f
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3502,7 +3502,7 @@ sub main() {
foreach
my $hook ('setup', 'extract', 'essential', 'customize') {
if ($entry =~ m/^\Q$hook\E/ and -x "$opt_value/$entry") {
push @{$scripts{$hook}}, "$opt_value/$entry";
push @{ $scripts{$hook} }, "$opt_value/$entry";
}
}
}
@ -3510,7 +3510,8 @@ sub main() {
# add the sorted list associated with each key to the respective
# list of hooks
foreach my $hook (keys %scripts) {
push @{ $options->{"${hook}_hook"} }, (sort @{$scripts{$hook}});
push @{ $options->{"${hook}_hook"} },
(sort @{ $scripts{$hook} });
}
},
# Sometimes --simulate fails even though non-simulate succeeds because