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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17205 )
Change subject: contrib: Fix default variable value syntax
......................................................................
contrib: Fix default variable value syntax
Change-Id: I23abf33881f64dd89c0bf5ef970972908d337366
---
M contrib/jenkins-build-common.sh
M contrib/jenkins-build-srslte.sh
2 files changed, 5 insertions(+), 5 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/contrib/jenkins-build-common.sh b/contrib/jenkins-build-common.sh
index d64f92d..ca8bf02 100644
--- a/contrib/jenkins-build-common.sh
+++ b/contrib/jenkins-build-common.sh
@@ -42,16 +42,16 @@
exit 1
fi
-git_url="${git_url-"git://git.osmocom.org"}"
-prefix="${prefix-"$base/inst-$name"}"
+git_url="${git_url:-git://git.osmocom.org}"
+prefix="${prefix:-$base/inst-$name}"
# prefix_real is usually identical with prefix, except when installing to a
# different $DESTDIR than /, which is the case for example when building
# osmo-bts within the sysmoBTS SDK
-prefix_real="${prefix_real-"$prefix"}"
+prefix_real="${prefix_real:-$prefix}"
# Flag to be used to enable ASAN in builds. Defaults to enable ASAN builds and
# it can be disabled by passing SANITIZE_FLAGS="" to the build.
-SANITIZE_FLAGS="${SANITIZE_FLAGS---enable-sanitize}"
+SANITIZE_FLAGS="${SANITIZE_FLAGS:---enable-sanitize}"
export PKG_CONFIG_PATH="$prefix_real/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$prefix_real/lib:$LD_LIBRARY_PATH"
diff --git a/contrib/jenkins-build-srslte.sh b/contrib/jenkins-build-srslte.sh
index 77d5bc4..29a6ffc 100755
--- a/contrib/jenkins-build-srslte.sh
+++ b/contrib/jenkins-build-srslte.sh
@@ -3,7 +3,7 @@
base="$PWD"
name="srslte"
-git_url="${git_url-"https://github.com/pespin/"}"
+git_url="${git_url:-https://github.com/srsLTE}"
. "$(dirname "$0")/jenkins-build-common.sh"
#TODO: make sure libconfig, zeroMQ is installed
--
To view, visit https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17205
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Change-Id: I23abf33881f64dd89c0bf5ef970972908d337366
Gerrit-Change-Number: 17205
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200218/596633e4/attachment.htm>