Code Review
/
releng
/
global-jjb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
71db67a
)
Resolve shellcheck SC1001 \= will be a regular =
17/62817/1
author
Thanh Ha
<zxiiro@gmail.com>
Wed, 15 Jan 2020 23:59:09 +0000
(18:59 -0500)
committer
Thanh 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
patch
|
blob
|
history
diff --git
a/shell/jenkins-configure-global-vars.sh
b/shell/jenkins-configure-global-vars.sh
index
5e98808
..
1e2f95e
100644
(file)
--- a/
shell/jenkins-configure-global-vars.sh
+++ b/
shell/jenkins-configure-global-vars.sh
@@
-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