diff options
Diffstat (limited to 'os2/perl2cmd.pl')
-rw-r--r-- | os2/perl2cmd.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os2/perl2cmd.pl b/os2/perl2cmd.pl index aa1c353f13..c17ab761aa 100644 --- a/os2/perl2cmd.pl +++ b/os2/perl2cmd.pl @@ -16,7 +16,8 @@ EOU $idir = $Config{installbin}; $indir =~ s|\\|/|g ; -foreach $file (<$idir/*.>) { +foreach $file (<$idir/*>) { + next if $file =~ /\.exe/i; $base = $file; $base =~ s/\.$//; # just in case... $base =~ s|.*/||; |