diff options
author | Pierre Fenoll <[email protected]> | 2017-12-14 13:50:11 +0100 |
---|---|---|
committer | Pierre Fenoll <[email protected]> | 2018-03-14 11:37:24 +0100 |
commit | af29e03e6c40992c52df6fae0217b56da0abb969 (patch) | |
tree | ed8e2bed431dfdc09bf7efa6c944cad67bbf25b0 | |
parent | f6f41cf661b423d9a260fb6a60100f93474cb05e (diff) | |
download | kerl-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-x | kerl | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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" |