Browse Source

tests: Update script to call bash for lollipop

* 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
fix_env
Kyle Manna 6 years ago
parent
commit
f2cb2e7428
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/build-lollipop.sh

+ 1
- 1
tests/build-lollipop.sh View File

@ -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:5.0-lollipop"


Loading…
Cancel
Save