diff options
-rwxr-xr-x | modules/buildsystem/templates/iurt2010.1 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/buildsystem/templates/iurt2010.1 b/modules/buildsystem/templates/iurt2010.1 index 2c822b40..bcb70faa 100755 --- a/modules/buildsystem/templates/iurt2010.1 +++ b/modules/buildsystem/templates/iurt2010.1 @@ -4,4 +4,5 @@ then echo 'this script should be run as <%= build_login %>' >&2 exit 1 fi -iurt --chrooted-urpmi -m contrib/release main/release ../../../2010.1-mgaserv/x86_64 -- http://repository.mageia.org/mandriva/ -r mandriva2010.1 x86_64 $@ +ARCH=$(rpm --eval %_target_cpu) +iurt --chrooted-urpmi -m contrib/release main/release ../../../2010.1-mgaserv/$ARCH -- http://repository.mageia.org/mandriva/ -r mandriva2010.1 $ARCH $@ |