13
0

fix color file install paths

We are supposed to remove the application name after copying
This commit is contained in:
Paul Davis 2016-06-29 15:17:05 -04:00
parent 139094b456
commit af3e38d04b

View File

@ -496,7 +496,12 @@ cp ../../gtk2_ardour/resources/${PRODUCT_PKG_DIR}-* ${Resources}/resources/
# Themes: only install those named for this app # Themes: only install those named for this app
lower_case_appname=`echo $APPNAME | tr '[:upper:]' '[:lower:]'` 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 # go through and recursively remove any .svn dirs in the bundle
for svndir in `find $APPDIR -name .svn -type dir`; do for svndir in `find $APPDIR -name .svn -type dir`; do