diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-11-15 03:28:08 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2014-01-22 13:25:15 -0300 |
commit | 03deea9fedb299950b5262e0fa48a6d31cd3f290 (patch) | |
tree | 0daf4529713cbd2a7a13e5faa10d7882cd4dea56 /Configure | |
parent | 9f88ff7aa7617394415b4ce5793ea6f66905e4bd (diff) | |
download | perl-03deea9fedb299950b5262e0fa48a6d31cd3f290.tar.gz |
Configure, run-ssh: No need to use ./\$exe
Previous, if run-ssh was passed ./TEST, it would've ended up running
././TEST in the target system. Similarly, if you passed 'uname',
it would've tried running ./uname, which would've failed
spectacularly.
This commit changes run-ssh so that it won't add the extra './';
this means that shell builtins can be run in the target system.
While this is not generally portable, it's useful in specific
situations, such as in the hints files.
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2983,7 +2983,7 @@ esac exe=\$1 shift $to \$exe -$targetrun -p $targetport -l $targetuser $targethost "cd \$cwd && \$env ./\$exe \$@" +$targetrun -p $targetport -l $targetuser $targethost "cd \$cwd && \$env \$exe \$@" EOF ;; *) echo "Unknown targetrun '$targetrun'" >&4 |