diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/buildsystem/templates/sync2010.1 | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/modules/buildsystem/templates/sync2010.1 b/modules/buildsystem/templates/sync2010.1 index ec1c4903..5f8eeebf 100644 --- a/modules/buildsystem/templates/sync2010.1 +++ b/modules/buildsystem/templates/sync2010.1 @@ -8,8 +8,13 @@ fi cd /distrib/mandriva/2010.1-mgaserv || exit 1 rsync -avH <%= build_login %>@jonund:/home/iurt/2010.1-SRPMS/ ./SRPMS -cd x86_64 || exit 1 -rsync -avH <%= build_login %>@jonund:/home/iurt/iurt/mandriva2010.1/x86_64/*.rpm . -ssh <%= build_login %>@jonund rm -f '/home/iurt/iurt/mandriva2010.1/x86_64/*.rpm' -genhdlist2 . + +for i in i586 x86_64; do + mkdir -p $i + cd $i + rsync -avH <%= build_login %>@jonund:/home/iurt/iurt/mandriva2010.1/$i/*.rpm . + ssh <%= build_login %>@jonund rm -f '/home/iurt/iurt/mandriva2010.1/$i/*.rpm' + genhdlist2 . + cd .. +done |