Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Catchup release notes for python-tools-install.sh
[releng/global-jjb.git]
/
shell
/
jenkins-configure-global-vars.sh
diff --git
a/shell/jenkins-configure-global-vars.sh
b/shell/jenkins-configure-global-vars.sh
index
eb25de0
..
1e2f95e
100644
(file)
--- a/
shell/jenkins-configure-global-vars.sh
+++ b/
shell/jenkins-configure-global-vars.sh
@@
-49,7
+49,7
@@
for silo in $silos; do
exit 1
fi
exit 1
fi
- mapfile -t vars < <(cat
$global_vars
)
+ mapfile -t vars < <(cat
"$global_vars"
)
rm -f insert.txt
for var in "${vars[@]}"; do
rm -f insert.txt
for var in "${vars[@]}"; do
@@
-58,8
+58,8
@@
for silo in $silos; do
continue
fi
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
echo " '$key': '$value'," >> insert.txt
done