diff options
author | simonmar <unknown> | 2002-01-09 10:29:32 +0000 |
---|---|---|
committer | simonmar <unknown> | 2002-01-09 10:29:32 +0000 |
commit | 1c424fdb63745ecc1f621fd991a35fcabce46333 (patch) | |
tree | f3f9ad6955f07f4037d04e92cf42ce9b531cf8f3 /glafp-utils | |
parent | fc7496ec40bbfa14a3e66454a4b663da6dcb89fe (diff) | |
download | haskell-1c424fdb63745ecc1f621fd991a35fcabce46333.tar.gz |
[project @ 2002-01-09 10:29:32 by simonmar]
Back out previous fix, I've hacked it in a different place which is at
least closer to the source of the problem.
Diffstat (limited to 'glafp-utils')
-rw-r--r-- | glafp-utils/mkdependC/mkdependC.prl | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/glafp-utils/mkdependC/mkdependC.prl b/glafp-utils/mkdependC/mkdependC.prl index 2bce81e1a7..26ce208a6d 100644 --- a/glafp-utils/mkdependC/mkdependC.prl +++ b/glafp-utils/mkdependC/mkdependC.prl @@ -127,15 +127,8 @@ sub mangle_command_line_args { 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 ! /^-/; } } } |