Changed hard-coded path to RESOURCES variable in macosx_bundle.sh, #4107

This commit is contained in:
Morgan Hardwood
2017-09-26 14:09:17 +02:00
parent fdd207693b
commit d1da927a2c

View File

@@ -154,9 +154,9 @@ ditto {"${GTK_PREFIX}","${RESOURCES}"}/share/icons/Adwaita/index.theme
# cp -RL "${GTK_PREFIX}/etc/fonts" "${ETC}" # cp -RL "${GTK_PREFIX}/etc/fonts" "${ETC}"
# fi # fi
# Copy Lensfun Database Into App Bundle # Copy the Lensfun database into the app bundle
mkdir ~/repo-rt/build/RawTherapee.app/Contents/Resources/share/lensfun mkdir -p "${RESOURCES}/share/lensfun"
cp /opt/local/share/lensfun/version_1/* ~/repo-rt/build/RawTherapee.app/Contents/Resources/share/lensfun/. cp /opt/local/share/lensfun/version_1/* "${RESOURCES}/share/lensfun"
# Install names # Install names
find -E "${CONTENTS}" -type f -regex '.*/(rawtherapee-cli|rawtherapee|.*\.(dylib|so))' | while read -r x; do find -E "${CONTENTS}" -type f -regex '.*/(rawtherapee-cli|rawtherapee|.*\.(dylib|so))' | while read -r x; do