osmith has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38850?usp=email )
Change subject: bts/run_fake_trx.sh: tweak cd logic
......................................................................
bts/run_fake_trx.sh: tweak cd logic
Don't test if FAKE_TRX_DIR is empty, because it is never empty at that
point. If it was empty, then the line above would assign a default
value.
Change-Id: I63f9720487b564de5c5609eb52a6bb9d5a8aa74f
---
M bts/run_fake_trx.sh
1 file changed, 1 insertion(+), 4 deletions(-)
Approvals:
pespin: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/bts/run_fake_trx.sh b/bts/run_fake_trx.sh
index 2209972..6243ce2 100755
--- a/bts/run_fake_trx.sh
+++ b/bts/run_fake_trx.sh
@@ -4,8 +4,5 @@
# fake trx is part of osmo-trx
FAKE_TRX_DIR="${FAKE_TRX_DIR:-../../osmo-trx/osmocom-bb/src/target/trx_toolkit}"
-if [ -n "$FAKE_TRX_DIR" ] ; then
- cd "$FAKE_TRX_DIR"
-fi
-
+cd "$FAKE_TRX_DIR"
exec ./fake_trx.py --trx TRX1@127.0.0.1:5700/1 --trx TRX2@127.0.0.1:5700/2 --trx
TRX3@127.0.0.1:5700/3
--
To view, visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38850?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I63f9720487b564de5c5609eb52a6bb9d5a8aa74f
Gerrit-Change-Number: 38850
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>