diff options
author | Robin Gareus <robin@gareus.org> | 2017-11-29 12:05:21 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-11-29 12:06:42 +0100 |
commit | 7b8646f340d2edc27606b1d87546191075f2c6a5 (patch) | |
tree | 4f7a3634eb73705f291fd9c4ed3ff14888dcbf2a /tools | |
parent | d1183770de7a776ee67ecc224965bd236f92d2df (diff) |
OSX packaging: don't create empty Plugins dir
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/osx_packaging/osx_build | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 2b417b86af..6293d0d331 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -134,10 +134,7 @@ Resources=$APPROOT/Resources Shared=$Resources Etc=$Resources Locale=$Resources/locale -# -# Bundled Plugins live in a top level folder -# -Plugins=$APPROOT/Plugins + Surfaces=$Frameworks/surfaces Panners=$Frameworks/panners Backends=$Frameworks/backends @@ -155,7 +152,7 @@ if [ x$PRINT_SYSDEPS != x ] ; then # print system dependencies # -for file in $APPROOT/MacOS/* $Frameworks/* $Frameworks/modules/* $Plugins/*.so ; do +for file in $APPROOT/MacOS/* $Frameworks/* $Frameworks/modules/* ; do if ! file $file | grep -qs Mach-O ; then continue fi @@ -174,7 +171,6 @@ echo "Building new app directory structure ..." mkdir -p $APPROOT/MacOS mkdir -p $APPROOT/Resources -mkdir -p $Plugins mkdir -p $Surfaces mkdir -p $Panners mkdir -p $Backends @@ -436,7 +432,7 @@ fi while [ true ] ; do missing=false - for file in $APPROOT/MacOS/* $Frameworks/* $Frameworks/modules/* $Panners/*.dylib $Backends/*.dylib $Surfaces/*.dylib $Plugins/*.so ; do + for file in $APPROOT/MacOS/* $Frameworks/* $Frameworks/modules/* $Panners/*.dylib $Backends/*.dylib $Surfaces/*.dylib ; do if ! file $file | grep -qs Mach-O ; then continue fi |