From af3e38d04b935075fde6b645a44106d0a53e9e13 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 29 Jun 2016 15:17:05 -0400 Subject: [PATCH] fix color file install paths We are supposed to remove the application name after copying --- tools/osx_packaging/osx_build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index a6dd205d5c..4e6a335d39 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -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