fix color file install paths
authorPaul Davis <paul@linuxaudiosystems.com>
Wed, 29 Jun 2016 19:16:21 +0000 (15:16 -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/linux_packaging/build

index a136a2d9b4fd0f8b047dc3488316c4d8f6ec3e41..97521b9558274ef40f9d3823f9c68cd9f3ae9649 100755 (executable)
@@ -599,7 +599,12 @@ cp ../../gtk2_ardour/resources/${APPNAME}-* ${Shared}/resources/
 
 # Themes: only install those named for this app
 lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'`
-cp `echo ../../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
 
 #
 # put sooper sekrit ingredients here and they will be copied