Fixed readlink for OS X
This commit is contained in:
parent
683126f05c
commit
93703de2aa
@ -19,7 +19,7 @@ if [ "$1" = "docker" ]; then
|
||||
else
|
||||
aosp_url="https://raw.githubusercontent.com/kylemanna/docker-aosp/master/utils/aosp"
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user