Skip to content

Commit

Permalink
chore(travis): fix ROOT_DIR path when build.sh is sourced
Browse files Browse the repository at this point in the history
  • Loading branch information
gkalpak committed Feb 13, 2018
1 parent ba140db commit a126b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -e

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

export BROWSER_STACK_ACCESS_KEY
Expand Down

0 comments on commit a126b34

Please sign in to comment.