Skip to content

Commit a126b34

Browse files
committed
chore(travis): fix ROOT_DIR path when build.sh is sourced
1 parent ba140db commit a126b34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/travis/build.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -e
44

5-
readonly THIS_DIR=$(cd $(dirname $0); pwd)
5+
readonly THIS_DIR=$(cd $(dirname ${BASH_SOURCE[0]}); pwd)
66
readonly ROOT_DIR="$THIS_DIR/../.."
77

88
export BROWSER_STACK_ACCESS_KEY

0 commit comments

Comments
 (0)