diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2018-10-30 15:34:19 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2018-10-30 16:03:41 +0000 |
commit | a93fd5ee24ebd5b19d4e2718e3e9db66b18f32a8 (patch) | |
tree | a38a30ce4ce13f8958132aa35ae48a79d2afc69a | |
parent | 797cb5d4459f9acab04d9e4c746e145ab09dfff5 (diff) |
ssh-cc.sh: Add comments.
Make it clearer what the first code path is meant for.
Change-Id: Ib4f26529ff23b85b6e56c265c137c9419b95fdda
-rw-r--r-- | ssh-cc.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -5,6 +5,9 @@ set -e cmd=$(echo "$@" | sed -e 's#"#\\"#g' -e "s#'#\\'#g") dir=$(pwd) +# This case is meant to quickly handle cases where $cmd="-v", in which +# case there is no need to rsync sources. This allows configuration +# scripts to run. if ! echo $dir | grep -q @spec@/benchspec; then exec ssh @build_port@ @build_host@ "cd $(pwd); exec @cc_prefix@@cc@ $cmd" fi |