have build_test.bash work when run as ./build_test.bash

Test: ./build_test.bash
Bug: 67478260

Change-Id: I027dcf7505def2253b9e41721aa6c226239f69c7
This commit is contained in:
Jeff Gaston 2017-10-06 12:22:09 -07:00
parent 4b9ef72fe2
commit e2128d3468
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@
export TRACE_BEGIN_SOONG=$(date +%s%N) export TRACE_BEGIN_SOONG=$(date +%s%N)
export TOP=$(cd $(dirname ${BASH_SOURCE[0]})/../..; PWD= /bin/pwd) export TOP=$(cd $(dirname ${BASH_SOURCE[0]})/../..; PWD= /bin/pwd)
cd "${TOP}"
source "${TOP}/build/soong/scripts/microfactory.bash" source "${TOP}/build/soong/scripts/microfactory.bash"
case $(uname) in case $(uname) in