macOS: use ${app} to call binary from exec-loader

This commit is contained in:
Benitoite
2020-02-02 01:01:51 -08:00
committed by GitHub
parent 2b307218be
commit 081c4eedee

View File

@@ -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" "$@"