projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
C<-x>.
[p5sagit/p5-mst-13.2.git]
/
lib
/
dotsh.pl
diff --git
a/lib/dotsh.pl
b/lib/dotsh.pl
index
8e9d962
..
877467e
100644
(file)
--- a/
lib/dotsh.pl
+++ b/
lib/dotsh.pl
@@
-53,8
+53,8
@@
sub dotsh {
open (_SH_ENV, "/tmp/_sh_env$$") || die "Could not open /tmp/_sh_env$$!\n";
while (<_SH_ENV>) {
chop;
- /=/;
- $ENV{$`} = $';
+ m/^([^=]*)=(.*)/s;
+ $ENV{$1} = $2;
}
close (_SH_ENV);
system "rm -f /tmp/_sh_env$$";