failedcmd @cmd;
}
- if (stat_exists "debian/source/local-options") {
- fail "git tree contains debian/source/local-options";
+ foreach my $f (qw(local-options local-patch-header)) {
+ if (stat_exists "debian/source/$f") {
+ fail "git tree contains debian/source/$f";
+ }
}
}