From af29e03e6c40992c52df6fae0217b56da0abb969 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Thu, 14 Dec 2017 13:50:11 +0100 Subject: In kerl line 42: : ${OTP_GITHUB_URL:="https://github.com/erlang/otp"} ^-- SC2086: Double quote to prevent globbing and word splitting. In kerl line 43: : ${KERL_BASE_DIR:="$HOME"/.kerl} ^-- SC2086: Double quote to prevent globbing and word splitting. In kerl line 44: : ${KERL_CONFIG:="$HOME"/.kerlrc} ^-- SC2086: Double quote to prevent globbing and word splitting. In kerl line 45: : ${KERL_DOWNLOAD_DIR:="${KERL_BASE_DIR:?}"/archives} ^-- SC2086: Double quote to prevent globbing and word splitting. In kerl line 46: : ${KERL_BUILD_DIR:="${KERL_BASE_DIR:?}"/builds} ^-- SC2086: Double quote to prevent globbing and word splitting. In kerl line 47: : ${KERL_GIT_DIR:="${KERL_BASE_DIR:?}"/gits} ^-- SC2086: Double quote to prevent globbing and word splitting. Introduced by: 9132af32d3df95e476baf8318948bbc1aae2d637 --- kerl | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kerl b/kerl index 49f6d13..5fc2144 100755 --- a/kerl +++ b/kerl @@ -36,12 +36,12 @@ if [ -z "$HOME" ]; then fi # Default values -: ${OTP_GITHUB_URL:="https://github.com/erlang/otp"} -: ${KERL_BASE_DIR:="$HOME"/.kerl} -: ${KERL_CONFIG:="$HOME"/.kerlrc} -: ${KERL_DOWNLOAD_DIR:="${KERL_BASE_DIR:?}"/archives} -: ${KERL_BUILD_DIR:="${KERL_BASE_DIR:?}"/builds} -: ${KERL_GIT_DIR:="${KERL_BASE_DIR:?}"/gits} +OTP_GITHUB_URL=${OTP_GITHUB_URL:="https://github.com/erlang/otp"} +KERL_BASE_DIR=${KERL_BASE_DIR:="$HOME"/.kerl} +KERL_CONFIG=${KERL_CONFIG:="$HOME"/.kerlrc} +KERL_DOWNLOAD_DIR=${KERL_DOWNLOAD_DIR:="${KERL_BASE_DIR:?}"/archives} +KERL_BUILD_DIR=${KERL_BUILD_DIR:="${KERL_BASE_DIR:?}"/builds} +KERL_GIT_DIR=${KERL_GIT_DIR:="${KERL_BASE_DIR:?}"/gits} if [ -n "$OTP_GITHUB_URL" ]; then _OGU="$OTP_GITHUB_URL" -- cgit v1.2.3