summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2016-06-29 15:17:05 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2016-06-29 15:17:20 -0400
commitaf3e38d04b935075fde6b645a44106d0a53e9e13 (patch)
tree5caa8ae70fa8c2f9a2640006d7f73b49aea6dfd9 /tools
parent139094b4568f8d465b79126615ba8999594f8385 (diff)
fix color file install paths
We are supposed to remove the application name after copying
Diffstat (limited to 'tools')
-rwxr-xr-xtools/osx_packaging/osx_build7
1 files changed, 6 insertions, 1 deletions
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