*** empty log message ***

svn path=/trunk/boinc/; revision=8725
This commit is contained in:
Charlie Fenton 2005-10-20 10:06:07 +00:00
parent 6b178a2f03
commit 701c3d1012
1 changed files with 5 additions and 5 deletions

View File

@ -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/*