From 3b2eb7507bc33e1a66fa71eb2ca5f07e477d717d Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 11 Oct 2022 20:06:17 +0200 Subject: [PATCH] Fix macOS compatibiliy readlink -f option requires recent macOS 12.6 --- gtk2_ardour/ardev_common.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/ardev_common.sh.in b/gtk2_ardour/ardev_common.sh.in index 51e0f61008..c5ae73203a 100644 --- a/gtk2_ardour/ardev_common.sh.in +++ b/gtk2_ardour/ardev_common.sh.in @@ -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