From 701c3d10125bf033ae368efd5d3de212263701cc Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Thu, 20 Oct 2005 10:06:07 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=8725 --- mac_installer/release_boinc.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mac_installer/release_boinc.sh b/mac_installer/release_boinc.sh index 170f03111e..e98d195ae3 100644 --- a/mac_installer/release_boinc.sh +++ b/mac_installer/release_boinc.sh @@ -40,13 +40,13 @@ cp -fpR mac_build/build/BOINCManager.app ../BOINC_Installer/Pkg_Root/Application cp -fpR mac_build/build/BOINCSaver.saver ../BOINC_Installer/Pkg_Root/Library/Screen\ Savers/ -## Copy the localization files to the installer tree -## Old way copied everything, including CVS files and *.po files which were not needed and wasted space +## Copy the localization files into the installer tree +## Old way copies CVS and *.po files which are not needed ## cp -fpR locale/client/ ../BOINC_Installer/Pkg_Root/Library/Application\ Support/BOINC\ Data/locale ## sudo rm -dfR ../BOINC_Installer/Pkg_Root/Library/Application\ Support/BOINC\ Data/locale/CVS -## New way copies only *.mo files (adapted from boinc/sea/make-tar.sh) -find locale/client -name '*.mo' | cut -d '/' -f 4 | awk '{print "../BOINC_Installer/Pkg_Root/Library/Application\ Support/BOINC\ Data/locale/"$0}' | xargs mkdir -find locale/client -name '*.mo' | cut -d '/' -f 4,5 | awk '{print "cp \"../locale/client/"$0"\" \"../BOINC_Installer/Pkg_Root/Library/Application\ Support/BOINC\ Data/locale/"$0"\""}' | bash +## New way copies only *.mo files (adapted from boinc/sea/make-tar.sh +find locale/client -name '*.mo' | cut -d '/' -f 3 | awk '{print "-p \"../BOINC_Installer/Pkg_Root/Library/Application Support/BOINC Data/locale/"$0"\""}' | xargs mkdir +find locale/client -name '*.mo' | cut -d '/' -f 3,4 | awk '{print "cp \"locale/client/"$0"\" \"../BOINC_Installer/Pkg_Root/Library/Application Support/BOINC Data/locale/"$0"\""}' | bash sudo chown -R root:admin ../BOINC_Installer/Pkg_Root/* sudo chmod -R 775 ../BOINC_Installer/Pkg_Root/*