Browse Source

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

Test: ./build_test.bash
Bug: 67478260

Change-Id: I027dcf7505def2253b9e41721aa6c226239f69c7
Jeff Gaston 6 years ago
parent
commit
e2128d3468
1 changed files with 1 additions and 0 deletions
  1. 1 0
      build_test.bash

+ 1 - 0
build_test.bash

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