Merge pull request #2 from bydavy/FixedReadlink

Fixed readlink for OS X
This commit is contained in:
Kyle Manna 2014-11-15 16:21:12 -08:00
commit f6670dac8c

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: