run-docker.sh: Work around mac readlink
This commit is contained in:
parent
09c5e72a9a
commit
bf74a80eac
@ -2,7 +2,12 @@
|
||||
set -e -u
|
||||
|
||||
HOME=/home/builder
|
||||
REPOROOT="$(dirname $(readlink -f $0))/../"
|
||||
if [ `uname` = Darwin ]; then
|
||||
# Workaround for mac readlink not supporting -f.
|
||||
REPOROOT=$PWD
|
||||
else
|
||||
REPOROOT="$(dirname $(readlink -f $0))/../"
|
||||
fi
|
||||
|
||||
IMAGE_NAME=termux/package-builder
|
||||
CONTAINER_NAME=termux-package-builder
|
||||
|
Loading…
Reference in New Issue
Block a user