From bc10d04fd94c967ca687dd8177f24177a0891ded Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Thu, 14 Dec 2017 16:31:44 +0100 Subject: In kerl line 99: if [ -f "$KERL_CONFIG" ]; then . "$KERL_CONFIG"; fi ^-- SC1090: Can't follow non-constant source. Use a directive to specify location. --- kerl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kerl b/kerl index fb240a0..25b1c45 100755 --- a/kerl +++ b/kerl @@ -96,7 +96,10 @@ KERL_BUILD_BACKEND= mkdir -p "$KERL_BASE_DIR" || exit 1 # source the config file if available -if [ -f "$KERL_CONFIG" ]; then . "$KERL_CONFIG"; fi +if [ -f "$KERL_CONFIG" ]; then + # shellcheck source=/dev/null + . "$KERL_CONFIG" +fi if [ -n "$_OGU" ]; then OTP_GITHUB_URL="$_OGU" -- cgit v1.2.3