Merge pull request #2 from bydavy/FixedReadlink
Fixed readlink for OS X
This commit is contained in:
commit
f6670dac8c
@ -19,7 +19,7 @@ if [ "$1" = "docker" ]; then
|
|||||||
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="run.sh docker"
|
||||||
export AOSP_EXTRA_ARGS="-v $(readlink -f $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"
|
||||||
|
|
||||||
#
|
#
|
||||||
# Try to invoke the aosp wrapper with the following priority:
|
# Try to invoke the aosp wrapper with the following priority:
|
||||||
|
Loading…
Reference in New Issue
Block a user