fix color file install paths
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 29 Jun 2016 19:17:05 +0000 (15:17 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Wed, 29 Jun 2016 19:17:20 +0000 (15:17 -0400)
We are supposed to remove the application name after copying

tools/osx_packaging/osx_build

index a6dd205d5c1032d0c65799ec129b53e3451f57dc..4e6a335d3939a545a4a5d93929564b02878ba0d8 100755 (executable)
@@ -496,7 +496,12 @@ cp ../../gtk2_ardour/resources/${PRODUCT_PKG_DIR}-* ${Resources}/resources/
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-cp ../../gtk2_ardour/themes/*-${lower_case_appname}.colors $Themes
+for colorfile in `echo ../../gtk2_ardour/themes/*-${lower_case_appname}.colors`
+do
+    cf=`basename $colorfile`
+    cf=`echo $cf | sed -e "s/-${lower_case_appname}//"`
+    cp $colorfile $Themes/$cf
+done
 
 # go through and recursively remove any .svn dirs in the bundle
 for svndir in `find $APPDIR -name .svn -type dir`; do