Skip to content

Commit

Permalink
first try
Browse files Browse the repository at this point in the history
  • Loading branch information
Birch-san committed Mar 11, 2018
1 parent 1a81649 commit 6363ec1
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Builds/MacOSX/relink-build-for-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[*]}"
Expand All @@ -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

Expand Down

0 comments on commit 6363ec1

Please sign in to comment.