summaryrefslogtreecommitdiff
path: root/automated/bin/setenv.sh
blob: c0a3f7925c2b1a5c79844f4f25156591910c05c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

export REPO_PATH="$(pwd)"
echo "REPO_PATH: ${REPO_PATH}"

if ! [ -d "${REPO_PATH}/automated/bin" ]; then
    echo "ERROR: Please execute the below command from test-definitions DIR"
    echo "    . ./automated/bin/setenv.sh"
    exit 1
fi

export PATH="${REPO_PATH}/automated/bin":"${PATH}"
echo "BIN_PATH: ${PATH}"