--- trunk/pkgtools/add2cvs.sh 2008/04/24 10:27:27 721 +++ trunk/pkgtools/add2cvs.sh 2011/05/31 17:44:01 1331 @@ -3,6 +3,11 @@ source /usr/lib/mage/mage4.functions.sh SMAGEFILE="$1" +if [[ -z ${SMAGEFILE} ]] +then + echo "No smagefile given." + exit 1 +fi [[ -n $2 ]] && [[ $2 != -st ]] && CVS_COMMIT="$2" if [[ $3 = -st ]] || [[ $2 = -st ]] then @@ -10,10 +15,11 @@ USE_SRCTARBALL=true fi -CURARCH=i686 -#CURARCH=x86_64 +#CURARCH=i686 +CURARCH=x86_64 -BUILDROOT=/mnt/BUILDROOT +BUILDROOT=/mnt/BUILDROOT-${CURARCH} +#BUILDROOT=/mnt/BUILDROOT SMAGEDIR=$(dirname ${SMAGEFILE}) MD5DIR=${SMAGEDIR}/md5