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:
ca30992
)
Fix a typo in #3725.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 25 Jul 1999 16:24:55 +0000
(16:24 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Sun, 25 Jul 1999 16:24:55 +0000
(16:24 +0000)
p4raw-id: //depot/cfgperl@3743
utils/perlbug.PL
patch
|
blob
|
blame
|
history
diff --git
a/utils/perlbug.PL
b/utils/perlbug.PL
index
c25eec0
..
78d3f42
100644
(file)
--- a/
utils/perlbug.PL
+++ b/
utils/perlbug.PL
@@
-530,9
+530,11
@@
EOF
my @env =
qw(PATH LD_LIBRARY_PATH LANG PERL_BADLANG SHELL HOME LOGDIR LANGUAGE);
push @env, $Config{ldlibpthname} if $Config{ldlibpthname} ne '';
- for my $env (sort @env,
- grep /^(?:PERL|LC_)/, keys %ENV)
- ) {
+ push @env, grep /^(?:PERL|LC_|LANG)/, keys %ENV;
+ my %env;
+ @env{@env} = @env;
+ for my $env (sort keys %env) {
+ {
print OUT " $env",
exists $ENV{$env} ? "=$ENV{$env}" : ' (unset)',
"\n";