From d1da927a2ca15c3eaa3af27e6529103a92bb0c2e Mon Sep 17 00:00:00 2001 From: Morgan Hardwood Date: Tue, 26 Sep 2017 14:09:17 +0200 Subject: [PATCH] Changed hard-coded path to RESOURCES variable in macosx_bundle.sh, #4107 --- tools/osx/macosx_bundle.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/osx/macosx_bundle.sh b/tools/osx/macosx_bundle.sh index b216b3130..250bc23e2 100644 --- a/tools/osx/macosx_bundle.sh +++ b/tools/osx/macosx_bundle.sh @@ -154,9 +154,9 @@ ditto {"${GTK_PREFIX}","${RESOURCES}"}/share/icons/Adwaita/index.theme # cp -RL "${GTK_PREFIX}/etc/fonts" "${ETC}" # fi -# Copy Lensfun Database Into App Bundle -mkdir ~/repo-rt/build/RawTherapee.app/Contents/Resources/share/lensfun -cp /opt/local/share/lensfun/version_1/* ~/repo-rt/build/RawTherapee.app/Contents/Resources/share/lensfun/. +# Copy the Lensfun database into the app bundle +mkdir -p "${RESOURCES}/share/lensfun" +cp /opt/local/share/lensfun/version_1/* "${RESOURCES}/share/lensfun" # Install names find -E "${CONTENTS}" -type f -regex '.*/(rawtherapee-cli|rawtherapee|.*\.(dylib|so))' | while read -r x; do