Fix macOS compatibiliy

readlink -f option requires recent macOS 12.6
This commit is contained in:
Robin Gareus 2022-10-11 20:06:17 +02:00
parent ae6bf4bc7d
commit 3b2eb7507b

View File

@ -3,7 +3,7 @@
if which realpath > /dev/null; then
TOP=`realpath "$TOP"`
elif which readlink > /dev/null; then
TOP=`readlink -f "$TOP"`
TOP=`(cd "$TOP"; pwd)`
fi
#export G_DEBUG=fatal_criticals