From 17bc9d864f1ba1eeec8745aa0399d48573cd955b Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Wed, 22 Apr 2015 10:13:15 -0700 Subject: [PATCH] tests: Update bash script to call bash * Call bash to avoid issue where user didn't `chmod +x` the script. * Error without chmod: exec: "run.sh": executable file not found in $PATH --- tests/build-kitkat.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/build-kitkat.sh b/tests/build-kitkat.sh index 7bc69c0..444254b 100755 --- a/tests/build-kitkat.sh +++ b/tests/build-kitkat.sh @@ -26,7 +26,7 @@ if [ "$1" = "docker" ]; then make -j $cpus else aosp_url="https://raw.githubusercontent.com/kylemanna/docker-aosp/master/utils/aosp" - args="run.sh docker" + args="bash run.sh docker" export AOSP_EXTRA_ARGS="-v $(cd $(dirname $0) && pwd -P)/$(basename $0):/usr/local/bin/run.sh:ro" export AOSP_IMAGE="kylemanna/aosp:4.4-kitkat"