Fixed readlink for OS X

This commit is contained in:
Davy Leggieri 2014-11-15 14:11:03 -08:00
parent 683126f05c
commit 93703de2aa
1 changed files with 1 additions and 1 deletions

View File

@ -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: