diff options
author | falkTX <falktx@gmail.com> | 2019-01-24 10:59:18 +0000 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2019-01-24 10:59:18 +0000 |
commit | f992b82b73351a7d5b4bec47344b34533704afee (patch) | |
tree | 3323d1364036e021cbfcf6007738636378d2a053 | |
parent | 7b68c85f25047f859d1d1a902efa341c589da2a8 (diff) |
Fix osx examples build
-rwxr-xr-x | utils/generate-vst-bundles.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/utils/generate-vst-bundles.sh b/utils/generate-vst-bundles.sh index b4afdb83..b8b7f288 100755 --- a/utils/generate-vst-bundles.sh +++ b/utils/generate-vst-bundles.sh @@ -17,7 +17,11 @@ PLUGINS=`ls | grep vst.dylib` for i in $PLUGINS; do FILE=`echo $i | awk 'sub("-vst.dylib","")'` - cp -r ../dpf/utils/plugin.vst/ $FILE.vst + if [ -e ../dpf ]; then + cp -r ../dpf/utils/plugin.vst/ $FILE.vst + else + cp -r ../utils/plugin.vst/ $FILE.vst + fi mv $i $FILE.vst/Contents/MacOS/$FILE rm -f $FILE.vst/Contents/MacOS/deleteme sed -i -e "s/X-PROJECTNAME-X/$FILE/" $FILE.vst/Contents/Info.plist |