projects
/
p5sagit/local-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
45277af
)
properly escape characters in single value env vars
Graham Knop [Wed, 20 Nov 2013 05:37:21 +0000 (
00:37
-0500)]
lib/local/lib.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/local/lib.pm
b/lib/local/lib.pm
index
ee36e1a
..
489159c
100644
(file)
--- a/
lib/local/lib.pm
+++ b/
lib/local/lib.pm
@@
-377,7
+377,7
@@
sub _interpolate {
my ($class, $args, $start, $end, $escape, $escape_char) = @_;
return
unless defined $args;
- return $args
+ $args = [ $args ]
unless ref $args;
return
unless @$args;