summaryrefslogtreecommitdiff
path: root/tools/osx_packaging/osx_build
diff options
context:
space:
mode:
Diffstat (limited to 'tools/osx_packaging/osx_build')
-rwxr-xr-xtools/osx_packaging/osx_build6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 2fa6c6d460..b4f78f9c6a 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -296,9 +296,11 @@ cp $BUILD_ROOT/libs/panners/*/lib*.dylib $Panners
for f in *.preset ; do
echo ExportFormat: $f; cp "$f" ../tools/osx_packaging/$ExportFormats ;
done)
-(cd $BUILD_ROOT/templates && \
+(cd $BUILD_ROOT/../templates && \
for f in * ; do
- echo Template: $f ; cp -r "$f" ../../tools/osx_packaging/$Templates ;
+ if [ -d "$f" ] ; then
+ echo Template: $f ; cp -r "$f" ../tools/osx_packaging/$Templates ;
+ fi
done)
# MIDI maps