aboutsummaryrefslogtreecommitdiffstats
path: root/kerl
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2017-12-14 16:05:26 +0100
committerPierre Fenoll <[email protected]>2018-03-14 11:41:52 +0100
commitda3e30dff563f36cc47dd7547cf5ed33f501389b (patch)
treeab871532c0bf8e037375e7bac84ca442484e4274 /kerl
parent34343205f6afdeba171d940a4706b6ab620031be (diff)
downloadkerl-da3e30dff563f36cc47dd7547cf5ed33f501389b.tar.gz
kerl-da3e30dff563f36cc47dd7547cf5ed33f501389b.tar.bz2
kerl-da3e30dff563f36cc47dd7547cf5ed33f501389b.zip
disable some more definite false positives
In kerl line 1320: if ! ssh $KERL_DEPLOY_SSH_OPTIONS "$host" "cd \"$remotepath\" && env ERL_TOP=\"\$(pwd)\" ./Install $INSTALL_OPT \"\$(pwd)\" >/dev/null 2>&1"; then ^-- SC2029: Note that, unescaped, this expands on the client side. In kerl line 1326: if ! ssh $KERL_DEPLOY_SSH_OPTIONS "$host" "cd \"$remotepath\" && sed -i -e \"s#$path#\"\$(pwd)\"#g\" activate"; then ^-- SC2029: Note that, unescaped, this expands on the client side.
Diffstat (limited to 'kerl')
-rwxr-xr-xkerl4
1 files changed, 2 insertions, 2 deletions
diff --git a/kerl b/kerl
index eecd597..70d8431 100755
--- a/kerl
+++ b/kerl
@@ -1321,13 +1321,13 @@ do_deploy()
exit 1
fi
- # shellcheck disable=SC2086
+ # shellcheck disable=SC2086,SC2029
if ! ssh $KERL_DEPLOY_SSH_OPTIONS "$host" "cd \"$remotepath\" && env ERL_TOP=\"\$(pwd)\" ./Install $INSTALL_OPT \"\$(pwd)\" >/dev/null 2>&1"; then
echo "Couldn't install Erlang/OTP $rel to $host ($remotepath)"
exit 1
fi
- # shellcheck disable=SC2086
+ # shellcheck disable=SC2086,SC2029
if ! ssh $KERL_DEPLOY_SSH_OPTIONS "$host" "cd \"$remotepath\" && sed -i -e \"s#$path#\"\$(pwd)\"#g\" activate"; then
echo "Couldn't completely install Erlang/OTP $rel to $host ($remotepath)"
exit 1