2005-10-20 02:18:43 +00:00
|
|
|
#!/bin/sh
|
2009-01-27 19:28:52 +00:00
|
|
|
destdir=`pwd`
|
|
|
|
cd $1
|
|
|
|
srcdir=`pwd`/locale
|
|
|
|
cd $destdir
|
|
|
|
rm -rf `find BOINC -name ".CVS" -o -name ".svn"`
|
2005-10-20 02:18:43 +00:00
|
|
|
mkdir BOINC
|
|
|
|
mkdir BOINC/locale
|
2009-01-27 19:28:52 +00:00
|
|
|
for file in `find ${srcdir} -name 'BOINC-Manager.mo'` ; do
|
|
|
|
dir=`dirname $file`
|
|
|
|
locale=`basename $dir`
|
|
|
|
mkdir BOINC/locale/${locale}
|
|
|
|
cp -f $file BOINC/locale/${locale}
|
|
|
|
done
|
2010-07-13 20:37:52 +00:00
|
|
|
for file in `find ${srcdir} -name 'BOINC-Client.mo'` ; do
|
|
|
|
dir=`dirname $file`
|
|
|
|
locale=`basename $dir`
|
|
|
|
mkdir BOINC/locale/${locale}
|
|
|
|
cp -f $file BOINC/locale/${locale}
|
|
|
|
done
|
2005-12-01 19:53:00 +00:00
|
|
|
tar cvf sea.tar BOINC
|
2009-01-27 19:28:52 +00:00
|
|
|
exit 0
|