Back out previous fix, I've hacked it in a different place which is at
least closer to the source of the problem.
push(@Src_files, $_);
}
- } elsif ($Dashdashes_seen == 1) {
- if ( /^-package-name$/ ) {
- # Skip option argument
- shift(@ARGV);
- } elsif ( /^-/ ) {
- # Ignore unknown option
- } else {
- push(@Src_files,$_);
- }
+ } elsif ($Dashdashes_seen == 1) { # where we ignore unknown options
+ push(@Src_files,$_) if ! /^-/;
}
}
}