summaryrefslogtreecommitdiff
path: root/automated/bin/setenv.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/bin/setenv.sh')
-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}"