aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Fenoll <[email protected]>2017-12-14 13:50:11 +0100
committerPierre Fenoll <[email protected]>2018-03-14 11:37:24 +0100
commitaf29e03e6c40992c52df6fae0217b56da0abb969 (patch)
treeed8e2bed431dfdc09bf7efa6c944cad67bbf25b0
parentf6f41cf661b423d9a260fb6a60100f93474cb05e (diff)
downloadkerl-af29e03e6c40992c52df6fae0217b56da0abb969.tar.gz
kerl-af29e03e6c40992c52df6fae0217b56da0abb969.tar.bz2
kerl-af29e03e6c40992c52df6fae0217b56da0abb969.zip
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
-rwxr-xr-xkerl12
1 files 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"