[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible openwrt: common: fix type detection by adding a $ to variable test
Holger Levsen
holger at layer-acht.org
Wed Jul 13 22:48:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit b2ed78ffe4e63fb50e7b801e2ccd470ee0adf091
Author: Alexander Couzens <lynxis at fe80.eu>
Date: Thu Jul 14 00:21:34 2016 +0200
reproducible openwrt: common: fix type detection by adding a $ to variable test
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_openwrt_common.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 210d6de..745a601 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -153,8 +153,8 @@ build_two_times() {
cat $(find build_dir/ -name banner | grep etc/banner|head -1) > $BANNER_HTML
# save results in b1
- [ TYPE = "lede" ] && save_lede_results b1
- [ TYPE = "openwrt" ] && save_openwrt_results b1
+ [ "$TYPE" = "lede" ] && save_lede_results b1
+ [ "$TYPE" = "openwrt" ] && save_openwrt_results b1
# copy logs
save_openwrt_logs b1
@@ -175,8 +175,8 @@ build_two_times() {
openwrt_build "second" "$TARGET"
# save results in b2
- [ TYPE = "lede" ] && save_lede_results b2
- [ TYPE = "openwrt" ] && save_openwrt_results b2
+ [ "$TYPE" = "lede" ] && save_lede_results b2
+ [ "$TYPE" = "openwrt" ] && save_openwrt_results b2
# copy logs
save_openwrt_logs b2
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list