support for symlink for buildme

This commit is contained in:
vectorsigma72 2019-09-23 12:54:58 +02:00
parent 0f1bca805e
commit 24750ec636

View File

@ -11,7 +11,7 @@
# $1 argument override MYTOOLCHAIN variable, in case you want GCC53 for example
cd "$(dirname $0)"
cd "$(dirname $([ -L $0 ] && readlink $0 || echo $0))"
declare -r CLOVERROOT="$PWD"
MYTOOLCHAIN=${1:-GCC53}
@ -28,7 +28,6 @@ if [[ ! $PATH =~ (^|:)$1(:|$) ]]; then
fi
}
checkXCODE() {
echo "[CHECK XCODE]"
if [[ ! -x /usr/bin/xcodebuild ]]; then