--- trunk/mage/usr/lib/mage/smage2.sh 2005/06/01 15:49:20 79 +++ trunk/mage/usr/lib/mage/smage2.sh 2005/07/31 11:57:05 169 @@ -4,14 +4,14 @@ # needs pkgbuild_dir (mage) # SMAGE2 -# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.10 2005-06-01 15:49:20 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.16 2005-07-31 11:57:05 niro Exp $ #01.10.2004 # added ccache support # added distcc support ## setup ## -SMAGEVERSION=0.3.6-r15 +SMAGEVERSION=0.3.6-r19 PKGSUFFIX="mpk" SMAGENAME="$1" SMAGESUFFIX="smage2" @@ -20,6 +20,9 @@ #SMAGE2RSYNC="rsync://192.168.0.2/smage2-scripts" MLIBDIR=/usr/lib/mage +# export default C locale +export LC_ALL=C + source /etc/mage.rc showversion() { @@ -179,12 +182,13 @@ --progress bar \ --directory-prefix="${my_SOURCEDIR}" \ "${my_SRC_URI}" - if [ "$?" == "0" ] - then - break - else - continue - fi +# only needed to run through a list of mirrors +# if [ "$?" == "0" ] +# then +# break +# else +# continue +# fi fi fi @@ -677,6 +681,7 @@ #for sure unset NOPKGBUILD +unset NOSTRIP xtitleclean #echo -e "\nPackage ${PKGNAME} successfully builded.\n"