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
main
Aaron Gao 8 years ago committed by Facebook Github Bot
parent 72e6000947
commit 0537f515c2
  1. 2
      tools/regression_test.sh

@ -361,7 +361,7 @@ function run_remote {
function test_remote { function test_remote {
if ! [ -z "$REMOTE_USER_AT_HOST" ]; then if ! [ -z "$REMOTE_USER_AT_HOST" ]; then
cmd="$SSH $REMOTE_USER_AT_HOST $1" cmd="$SSH $REMOTE_USER_AT_HOST '$1'"
else else
cmd="$1" cmd="$1"
fi fi

Loading…
Cancel
Save