13
0

FIx path on macOS when running from source-tree

This fixes access to local clip library files. Absolute paths are
required, otherwise FileSource::find searches the session folder.
This commit is contained in:
Robin Gareus 2022-10-05 19:52:01 +02:00
parent f858132a25
commit 413285b713

View File

@ -2,6 +2,8 @@
if which realpath > /dev/null; then
TOP=`realpath "$TOP"`
elif which readlink > /dev/null; then
TOP=`readlink -f "$TOP"`
fi
#export G_DEBUG=fatal_criticals