Daniel Gibbs 8 年之前
父節點
當前提交
a9c588fe32
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lgsm/functions/core_dl.sh

+ 1 - 1
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