aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/iurt2010.1
blob: 44633e9bd35ac04839b6b47eee3d66afdc7af0c7 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh
if [ `whoami` != <%= build_login %> ]
then
    echo 'this script should be run as <%= build_login %>' >&2
    exit 1
fi
ARCH=$(rpm --eval %_target_cpu)
iurt --chrooted-urpmi -m contrib/release main/release ../../../2010.1-mgaserv/$ARCH -- http://repository.<%= domain %>/mandriva/ -r mandriva2010.1 $ARCH $@