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