aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 18:45:10 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2020-03-20 19:17:35 +0100
commit8e8f671711638f486de46605a39b58529839f3b2 (patch)
tree939c67576b52e49724845b62b4770de277ab34db
parentcafa320eba9bc41480091cd1ab62fdf17da943d4 (diff)
osmo-gsm-tester: Allow changing host's trial directory
It's set to /tmp/trial by default for convenience, since it's a temporary directory and easy to remember and to access. Still, let's give the opportunity to change it (if user wants it to be stored in persistent data or if has low amounts of non-persistent memory). Change-Id: I2a7ea361c6156c97bd8d2d94cf1b6856344d4d9f
-rwxr-xr-xosmo-gsm-tester/jenkins.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/osmo-gsm-tester/jenkins.sh b/osmo-gsm-tester/jenkins.sh
index 58768c4..4a3859f 100755
--- a/osmo-gsm-tester/jenkins.sh
+++ b/osmo-gsm-tester/jenkins.sh
@@ -23,7 +23,7 @@
# osmo-gsm-tester last run can be found as usual under the trial directory
# (/tmp/trial/last_run).
-TRIAL_DIR="/tmp/trial"
+TRIAL_DIR="${TRIAL_DIR:-/tmp/trial}"
SRS_LTE_BRANCH=${SRS_LTE_BRANCH:-master}
SRS_LTE_REPO_PREFIX=${SRS_LTE_REPO_PREFIX:-git@github.com:srsLTE}