Fix running on macOS from the src-tree

This commit is contained in:
Robin Gareus 2020-10-01 23:38:55 +02:00
parent 5f6aa7ffdb
commit 02c03a36be
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -1,6 +1,8 @@
[ -z $TOP ] && echo "ardev_common.sh: TOP var must be set" >&2 && exit 1
TOP=`realpath "$TOP"`
if which realpath > /dev/null; then
TOP=`realpath "$TOP"`
fi
#export G_DEBUG=fatal_criticals