From a9c588fe325010746af0bf24f8b4923bc6e67cda Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 14 Mar 2018 22:19:39 +0000 Subject: [PATCH] SC2066 --- lgsm/functions/core_dl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/core_dl.sh b/lgsm/functions/core_dl.sh index f45b8938d..1230cac4a 100644 --- a/lgsm/functions/core_dl.sh +++ b/lgsm/functions/core_dl.sh @@ -240,7 +240,7 @@ fn_update_function(){ # Defines curl path curlpath=$(command -v curl 2>/dev/null) -if [ "$(basename ${curlpath})" != "curl" ]; then +if [ "$(basename "${curlpath}")" != "curl" ]; then echo "[ FAIL ] Curl is not installed" exit 1 fi \ No newline at end of file