Make tools/commit-tests.sh work again on OS X

This commit is contained in:
Arne Schwabe
2016-10-07 11:10:49 +02:00
parent c41455aac4
commit 3d9e2357c0
+5 -1
View File
@@ -20,7 +20,11 @@ done
set -e
set -x
SCRIPT=$(readlink -f "$0")
if [ "$(uname)" = "Darwin" ]; then
SCRIPT=$(python -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' "$0")
else
SCRIPT=$(readlink -f "$0")
fi
SRCDIR=$(dirname "$SCRIPT")/..
COMMON_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/opt/qt55"