projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
b209481
)
fix uninit warnings
Graham Knop [Wed, 20 Nov 2013 04:10:14 +0000 (23:10 -0500)]
lib/local/lib.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/local/lib.pm
b/lib/local/lib.pm
index
f5e4778
..
80f56ad
100644
(file)
--- a/
lib/local/lib.pm
+++ b/
lib/local/lib.pm
@@
-314,7
+314,8
@@
sub environment_vars_string_for {
next;
}
if (!ref $value
- && $value eq $ENV{$name}) {
+ && defined $value ? $value eq $ENV{$name} : !defined $ENV{$name}
+ ) {
next;
}
$out .= $self->$build_method($name, $value);