summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2001-01-22 20:33:50 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2001-01-22 20:33:50 +0000
commit3865e8e16e47e0d7cb9fff45bba4e84e396abd42 (patch)
tree36fc51442e799e54cd36a6a36255a9fd5df76c65
parent81335bee70c9fd691a3def54a523fd48bba8ffc4 (diff)
downloadperl-3865e8e16e47e0d7cb9fff45bba4e84e396abd42.tar.gz
Change file-of-files command line from -F to -f to avoid case issues on VMS.
p4raw-id: //depot/perlio@8519
-rw-r--r--ext/Encode/Makefile.PL2
-rwxr-xr-xext/Encode/compile6
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/Encode/Makefile.PL b/ext/Encode/Makefile.PL
index fcd06514ec..0b20c48c90 100644
--- a/ext/Encode/Makefile.PL
+++ b/ext/Encode/Makefile.PL
@@ -88,7 +88,7 @@ sub postamble
$continuator = '';
}
}
- $str .= "\n\t\$(PERL) compile -o \$\@ -F $table.fnm\n\n";
+ $str .= "\n\t\$(PERL) compile -o \$\@ -f $table.fnm\n\n";
open (FILELIST, ">$table.fnm")
|| die "Could not open $table.fnm: $!";
foreach my $file (@{$tables{$table}})
diff --git a/ext/Encode/compile b/ext/Encode/compile
index eb77133de3..755b78ca14 100755
--- a/ext/Encode/compile
+++ b/ext/Encode/compile
@@ -48,7 +48,7 @@ sub encode_M
eval "\@ARGV = map(glob(\$_),\@ARGV)" if ($^O eq 'MSWin32');
my %opt;
-getopts('qo:F:n:',\%opt);
+getopts('qo:f:n:',\%opt);
my $cname = (exists $opt{'o'}) ? $opt{'o'} : shift(@ARGV);
chmod(0666,$cname) if -f $cname && !-w $cname;
open(C,">$cname") || die "Cannot open $cname:$!";
@@ -99,10 +99,10 @@ elsif ($cname =~ /\.ucm$/)
}
my @encfiles;
-if (exists $opt{'F'})
+if (exists $opt{'f'})
{
# -F is followed by name of file containing list of filenames
- my $flist = $opt{'F'};
+ my $flist = $opt{'f'};
open(FLIST,$flist) || die "Cannot open $flist:$!";
chomp(@encfiles = <FLIST>);
close(FLIST);