From 6363ec116db25418a18ebc5cd9e59b2317f1efa1 Mon Sep 17 00:00:00 2001 From: Alex Birch Date: Sun, 11 Mar 2018 00:48:28 +0000 Subject: [PATCH] first try --- Builds/MacOSX/relink-build-for-distribution.sh | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Builds/MacOSX/relink-build-for-distribution.sh b/Builds/MacOSX/relink-build-for-distribution.sh index 5e23d19..c64f0bc 100755 --- a/Builds/MacOSX/relink-build-for-distribution.sh +++ b/Builds/MacOSX/relink-build-for-distribution.sh @@ -27,13 +27,12 @@ PLUGINNAME="juicysfplugin" declare -a BUILDS=("Debug" "Release") # .app is a special case which has a Plugins folder inside it, containing a .appex Plugin -declare -a TARGETS=(\ -".app"\ -".appex"\ -".component"\ -".vst"\ -".vst3"\ -".app/Contents/PlugIns/$PLUGINNAME.appex" +declare -a TARGETS=("app" \ +"appex" \ +"component" \ +"vst" \ +"vst3" \ +"app/Contents/PlugIns/$PLUGINNAME.appex" ) echo "Known builds: ${BUILDS[*]}" @@ -59,7 +58,7 @@ do echo "Found $i build subdirectory. Iterating over targets." for j in "${TARGETS[@]}" do - CONTENTS="$BUILD/$PLUGINNAME$j/Contents" + CONTENTS="$BUILD/$PLUGINNAME.$j/Contents" BINARY="$CONTENTS/MacOS/$PLUGINNAME" if [ -f "$BINARY" ]; then