fix copying of templates into bundles, etc
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 20 May 2012 15:20:27 +0000 (15:20 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 20 May 2012 15:20:27 +0000 (15:20 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@12344 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build
tools/osx_packaging/osx_build

index cb9263d65f816e22155ea7930dede88c54f64a0f..50fb408fe48aad2724621604edb0753c38c5a46b 100755 (executable)
@@ -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
index d3d07c146cf00144c6ebbc6a505c83fab78e83fb..22fe7819aea02443f8c38fbf1bae423a1899ba50 100755 (executable)
@@ -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