summaryrefslogtreecommitdiff
path: root/automated/bin
diff options
context:
space:
mode:
authorChase Qi <chase.qi@linaro.org>2016-08-29 19:34:01 +0800
committerMilosz Wasilewski <milosz.wasilewski@linaro.org>2016-09-02 08:40:13 +0000
commitfaf7d2820ef33bb47d81ec9bccd19353188bfdb5 (patch)
tree55a551913e89f8eeac231f61c4cebfddf1268d96 /automated/bin
parentd805476cd80076ab2da02962b1f964748efd27bd (diff)
v2: test-runner: handle 3rd party python modules
Change-Id: I0a7b460cc891f2c4a927b11940699fde221d87e4 Signed-off-by: Chase Qi <chase.qi@linaro.org>
Diffstat (limited to 'automated/bin')
-rwxr-xr-xautomated/bin/setenv.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/automated/bin/setenv.sh b/automated/bin/setenv.sh
index 1449fc6..a11f6aa 100755
--- a/automated/bin/setenv.sh
+++ b/automated/bin/setenv.sh
@@ -1,6 +1,7 @@
-#!/bin/sh
+#!/bin/sh -eu
-export REPO_PATH="$(pwd)"
+REPO_PATH="$(pwd)"
+export REPO_PATH
echo "REPO_PATH: ${REPO_PATH}"
if ! [ -d "${REPO_PATH}/automated/bin" ]; then
@@ -9,5 +10,6 @@ if ! [ -d "${REPO_PATH}/automated/bin" ]; then
exit 1
fi
-export PATH="${REPO_PATH}/automated/bin":"${PATH}"
+PATH="${REPO_PATH}/automated/bin:${PATH}"
+export PATH
echo "BIN_PATH: ${PATH}"