From 413285b71388314afc14c4711c262bc09ec755bb Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 5 Oct 2022 19:52:01 +0200 Subject: [PATCH] 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. --- gtk2_ardour/ardev_common.sh.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk2_ardour/ardev_common.sh.in b/gtk2_ardour/ardev_common.sh.in index 2775026b37..51e0f61008 100644 --- a/gtk2_ardour/ardev_common.sh.in +++ b/gtk2_ardour/ardev_common.sh.in @@ -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