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}"
# 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