From da3e30dff563f36cc47dd7547cf5ed33f501389b Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Thu, 14 Dec 2017 16:05:26 +0100 Subject: 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. --- kerl | 4 ++-- 1 file 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 -- cgit v1.2.3