fix run_remote with strong quoting
Summary: add \' pair to avoid bash expanding before run remotely Closes https://github.com/facebook/rocksdb/pull/2079 Differential Revision: D4821342 Pulled By: lightmark fbshipit-source-id: 418ba41
This commit is contained in:
parent
72e6000947
commit
0537f515c2
@ -361,7 +361,7 @@ function run_remote {
|
||||
|
||||
function test_remote {
|
||||
if ! [ -z "$REMOTE_USER_AT_HOST" ]; then
|
||||
cmd="$SSH $REMOTE_USER_AT_HOST $1"
|
||||
cmd="$SSH $REMOTE_USER_AT_HOST '$1'"
|
||||
else
|
||||
cmd="$1"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user