projects
/
p5sagit/IPC-PerlSSH-MultiHop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
506d80b
)
I've gotten much farther
Jennie 'Seven' Evers-Corvina [Mon, 13 Dec 2010 22:26:32 +0000 (14:26 -0800)]
t/scratch.t
patch
|
blob
|
blame
|
history
diff --git
a/t/scratch.t
b/t/scratch.t
index
1d51086
..
8c8a2f9
100644
(file)
--- a/
t/scratch.t
+++ b/
t/scratch.t
@@
-26,7
+26,11
@@
use Devel::Dwarn;
}
sub _ssh_env_vars {
- $_[0]->{ssh_env_vars} ||= $_[0]->_build_ssh_env_vars;
+ if( defined $_[1] ) {
+ $_[0]->{ssh_env_vars} = $_[1];
+ } else {
+ $_[0]->{ssh_env_vars} ||= $_[0]->_build_ssh_env_vars;
+ }
}
sub _build_ssh_env_vars {