summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-05-20 15:20:27 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-05-20 15:20:27 +0000
commita47cfd7f6f5fe3c9755084ec9523367ba7cd6f80 (patch)
treefa5f0bbf3e660f123d75ada38f52039658e98102 /tools
parent47d6c65a1c252d72a84dc2d1fd5a7bc931659c2e (diff)
fix copying of templates into bundles, etc
git-svn-id: svn://localhost/ardour2/branches/3.0@12344 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build2
-rwxr-xr-xtools/osx_packaging/osx_build27
2 files changed, 15 insertions, 14 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index cb9263d65f..50fb408fe4 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -487,7 +487,7 @@ for x in $BUILD_ROOT/../mcp/*.device $BUILD_ROOT/../mcp/*.profile ; do
done
# Templates
-for f in templates/* ; do
+for f in $BUILD_ROOT/../templates/* ; do
if [ -d "$f" ] ; then
echo Template: $f ; cp -r "$f" $Templates ;
fi
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index d3d07c146c..22fe7819ae 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -305,22 +305,23 @@ cp $BUILD_ROOT/libs/surfaces/*/libardour_*.dylib $Surfaces
# hack ... move libardour_cp back into Frameworks
mv $Surfaces/libardourcp*.dylib $Frameworks
-# Export formats
+# Panners
cp $BUILD_ROOT/libs/panners/*/lib*.dylib $Panners
-(cd ../../export &&
- for f in *.preset *.format ; do
- echo ExportFormat: $f
- cp "$f" $ExportFormats ;
-done)
+
+
+# Export Formats/Presets
+for f in $BUILD_ROOT/../export/*.preset $BUILD_ROOT/../export/*.format ; do
+ echo ExportFormat: $f
+ cp "$f" $ExportFormats ;
+done
# Session and Route templates
-(cd $BUILD_ROOT/../templates && \
- for f in * ; do
- if [ -d "$f" ] ; then
- echo Template: $f
- cp -r "$f" $Templates ;
- fi
-done)
+for f in $BUILD_ROOT/../templates/* ; do
+ if [ -d "$f" ] ; then
+ echo Template: $f
+ cp -r "$f" $Templates ;
+ fi
+done
# MidiMaps
# got to be careful with names here