This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6709de8
)
No distinction between .PL and .pl if case is not preserved.
author
Craig A. Berry
<craigberry@mac.com>
Thu, 7 Oct 2010 00:19:33 +0000
(19:19 -0500)
committer
Craig A. Berry
<craigberry@mac.com>
Thu, 7 Oct 2010 00:19:33 +0000
(19:19 -0500)
Follow-up to
13b5e8d8173af2197798ae78b4520ece8cb1151c
.
On VMS, the CRTL downcases filenames by default, so pod2foo.PL
comes through as pod2foo.pl. We need to match that so we paste
on the right extension for the generated command procedure.
make_ext.pl
patch
|
blob
|
blame
|
history
diff --git
a/make_ext.pl
b/make_ext.pl
index
8f3e6db
..
3c25b28
100644
(file)
--- a/
make_ext.pl
+++ b/
make_ext.pl
@@
-387,7
+387,7
@@
my $script_ext = $^O eq 'VMS' ? '.com' : '';
my %%pod_scripts;
foreach (glob('pod*.PL')) {
my $script = $_;
- s/.PL$/$script_ext/;
+ s/.PL$/$script_ext/
i
;
$pod_scripts{$script} = $_;
}
my @exe_files = values %%pod_scripts;