mirror of
https://github.com/kylemanna/docker-aosp
synced 2026-08-23 06:13:10 +00:00
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
This commit is contained in:
@@ -26,7 +26,7 @@ if [ "$1" = "docker" ]; then
|
|||||||
make -j $cpus
|
make -j $cpus
|
||||||
else
|
else
|
||||||
aosp_url="https://raw.githubusercontent.com/kylemanna/docker-aosp/master/utils/aosp"
|
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_EXTRA_ARGS="-v $(cd $(dirname $0) && pwd -P)/$(basename $0):/usr/local/bin/run.sh:ro"
|
||||||
export AOSP_IMAGE="kylemanna/aosp:4.4-kitkat"
|
export AOSP_IMAGE="kylemanna/aosp:4.4-kitkat"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user