Resolve shellcheck SC1001 \= will be a regular = 17/62817/1
authorThanh Ha <zxiiro@gmail.com>
Wed, 15 Jan 2020 23:59:09 +0000 (18:59 -0500)
committerThanh Ha <zxiiro@gmail.com>
Wed, 15 Jan 2020 23:59:50 +0000 (18:59 -0500)
SC1001: This \= will be a regular '=' in this context.

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I93f57b15802c9f07a789e9c3aa1a60cba40ab00b

shell/jenkins-configure-global-vars.sh

index 5e98808..1e2f95e 100644 (file)
@@ -58,8 +58,8 @@ for silo in $silos; do
             continue
         fi
 
-        key=$(echo "$var" | cut -d\= -f1)
-        value=$(echo "$var" | cut -d\= -f2)
+        key=$(echo "$var" | cut -d= -f1)
+        value=$(echo "$var" | cut -d= -f2)
         echo "    '$key': '$value'," >> insert.txt
     done