projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
42c7045
)
don't output env vars that are already set
Graham Knop [Thu, 31 Oct 2013 18:05:44 +0000 (14:05 -0400)]
lib/local/lib.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/local/lib.pm
b/lib/local/lib.pm
index
9943542
..
40fcf68
100644
(file)
--- a/
lib/local/lib.pm
+++ b/
lib/local/lib.pm
@@
-305,6
+305,10
@@
sub environment_vars_string_for {
&& ${$value->[0]} eq $name) {
next;
}
+ if (!ref $value
+ && $value eq $ENV{$name}) {
+ next;
+ }
$out .= $self->$build_method($name, $value);
}
return $out;