correctly package color theme files for both linux and OS X
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Jul 2016 15:50:34 +0000 (11:50 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 18 Jul 2016 15:50:38 +0000 (11:50 -0400)
tools/linux_packaging/build
tools/osx_packaging/osx_build

index 6ed2e13941d7c4cec9bbe00fe5ec748fe274314e..34a16f95139475f9e101c2868421b2c80f4405e0 100755 (executable)
@@ -607,12 +607,7 @@ cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-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
+cp ../../gtk2_ardour/themes/*-${lower_case_appname}.colors $Themes
 
 #
 # put sooper sekrit ingredients here and they will be copied
 
 #
 # put sooper sekrit ingredients here and they will be copied
index ef744ebb362d9703077783f2e7681c855a7188d2..a63f92c4bd8d321f1378ee980acba96771c1465f 100755 (executable)
@@ -496,12 +496,7 @@ 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:]'`
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-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
+cp ../../gtk2_ardour/themes/*-${lower_case_appname}.colors $Themes
 
 # go through and recursively remove any .svn dirs in the bundle
 for svndir in `find $APPDIR -name .svn -type dir`; do
 
 # go through and recursively remove any .svn dirs in the bundle
 for svndir in `find $APPDIR -name .svn -type dir`; do