rendered paste body#!/bin/shif [ $# -lt 1 ]; then echo "first arg must be full path to the SRPM to rebuild" exit 1;fiDISTRO=mes5CHROOTURPMI=http://localhost/BIG/official/for LARCH in `echo i586 x86_64`do #ADDI=http://mes5devel.mandriva.com/iurt/aginies/rebuild/$DISTRO/$LARCH ADDI=http://mes5devel.mandriva.com/~aginies/rebuild-mes5.2/$LARCH/ CMD="iurt --copy-srpm -v 3 --chrooted-urpmi $CHROOTURPMI --additional-media $ADDI -r $DISTRO" if [ $LARCH == "i586" ]; then CMD="linux32 $CMD" fi echo ------------------------ echo $CMD $LARCH $1 echo ------------------------ $CMD $LARCH $1done