[PATCH] osmo-bts[master]: contrib: jenkins_bts_model: Fix bashism expr

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Thu Apr 5 23:27:23 UTC 2018


Review at  https://gerrit.osmocom.org/7654

contrib: jenkins_bts_model: Fix bashism expr

In posix shell, = is valid and == is not.

Change-Id: I5c027039d12c5e455a8f8a0878f88ab30c168db4
---
M contrib/jenkins_bts_model.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/54/7654/1

diff --git a/contrib/jenkins_bts_model.sh b/contrib/jenkins_bts_model.sh
index 33bfdc7..2488f71 100755
--- a/contrib/jenkins_bts_model.sh
+++ b/contrib/jenkins_bts_model.sh
@@ -4,7 +4,7 @@
 
 bts_model="$1"
 
-if [ "x$bts_model" == "x" ]; then
+if [ "x$bts_model" = "x" ]; then
 	echo "Error: You have to specify the BTS model as first argument, e.g. $0 sysmo"
 	exit 2
 fi

-- 
To view, visit https://gerrit.osmocom.org/7654
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5c027039d12c5e455a8f8a0878f88ab30c168db4
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list