From faf7d2820ef33bb47d81ec9bccd19353188bfdb5 Mon Sep 17 00:00:00 2001 From: Chase Qi Date: Mon, 29 Aug 2016 19:34:01 +0800 Subject: v2: test-runner: handle 3rd party python modules Change-Id: I0a7b460cc891f2c4a927b11940699fde221d87e4 Signed-off-by: Chase Qi --- automated/bin/setenv.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'automated/bin') 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}" -- cgit v1.2.3