From 081c4eedeebf2ba620d316cafed6dbad5c3915be Mon Sep 17 00:00:00 2001 From: Benitoite Date: Sun, 2 Feb 2020 01:01:51 -0800 Subject: [PATCH] macOS: use ${app} to call binary from exec-loader --- tools/osx/executable_loader.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/osx/executable_loader.in b/tools/osx/executable_loader.in index a10e88265..8e9a9b230 100644 --- a/tools/osx/executable_loader.in +++ b/tools/osx/executable_loader.in @@ -1,6 +1,6 @@ #!/bin/sh -# GIMP has this next line regarding raising the open-number-of-files limit: +# GIMP has this next line regarding raising the number-of-open-files limit: ulimit -n 7000 cd "$(dirname "$0")" || exit 1 @@ -30,4 +30,4 @@ esac AppleLocale=`defaults read -g AppleLocale` export LANG=${AppleLocale%@*}.UTF-8 -exec "${cwd}/bin/rawtherapee-bin" "$@" +exec "${app}/Contents/MacOS/bin/rawtherapee-bin" "$@"