diff options
author | Pierre Fenoll <[email protected]> | 2017-12-14 16:05:26 +0100 |
---|---|---|
committer | Pierre Fenoll <[email protected]> | 2018-03-14 11:41:52 +0100 |
commit | da3e30dff563f36cc47dd7547cf5ed33f501389b (patch) | |
tree | ab871532c0bf8e037375e7bac84ca442484e4274 /kerl | |
parent | 34343205f6afdeba171d940a4706b6ab620031be (diff) | |
download | kerl-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-x | kerl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |