1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

Merge pull request #16 from justinvdk/master

Support osx in run.sh
This commit is contained in:
Michael Stucki 2016-12-28 14:10:25 +01:00 committed by GitHub
commit 091af802f7

10
run.sh
View File

@ -2,8 +2,14 @@
cd $(dirname $0) cd $(dirname $0)
SOURCE=$(readlink -f $(pwd)/android) if [[ $OSTYPE == "darwin"* ]]; then
CCACHE=$(readlink -f $(pwd)/ccache) SOURCE=$(stat -f %N $(pwd)/android)
CCACHE=$(stat -f %N $(pwd)/ccache)
else
SOURCE=$(readlink -f $(pwd)/android)
CCACHE=$(readlink -f $(pwd)/ccache)
fi
CONTAINER_HOME=/home/cmbuild CONTAINER_HOME=/home/cmbuild
CONTAINER=cyanogenmod CONTAINER=cyanogenmod
REPOSITORY=stucki/cyanogenmod REPOSITORY=stucki/cyanogenmod