summaryrefslogtreecommitdiff
path: root/lib/importenv.pl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/importenv.pl')
-rw-r--r--lib/importenv.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/importenv.pl b/lib/importenv.pl
index d56f32633b..c28ffd054d 100644
--- a/lib/importenv.pl
+++ b/lib/importenv.pl
@@ -8,7 +8,7 @@
local($tmp,$key) = '';
-foreach $key (keys(ENV)) {
+foreach $key (keys(%ENV)) {
$tmp .= "\$$key = \$ENV{'$key'};" if $key =~ /^[A-Za-z]\w*$/;
}
eval $tmp;