SVN: people/hawk/ftp_admin/pld-titanium-mvpkg.sh

hawk hawk at pld-linux.org
Fri May 30 22:23:50 CEST 2008


Author: hawk
Date: Fri May 30 22:23:49 2008
New Revision: 9783

Modified:
   people/hawk/ftp_admin/pld-titanium-mvpkg.sh
Log:
- process all Titanium architectures


Modified: people/hawk/ftp_admin/pld-titanium-mvpkg.sh
==============================================================================
--- people/hawk/ftp_admin/pld-titanium-mvpkg.sh	(original)
+++ people/hawk/ftp_admin/pld-titanium-mvpkg.sh	Fri May 30 22:23:49 2008
@@ -1,6 +1,7 @@
 #!/bin/bash
 
-mirror_dir="/home/pld/mirror"
+mirror_dir="/home/services/pld/ftp"
+rsync_url="rsync.pld-linux.org::pld"
 
 check_trees()
 {
@@ -12,7 +13,7 @@
 rsync_log="/tmp/$(basename $0).rsync.log"
 files_log="/tmp/$(basename $0).files.log"
 
-rsync -vrltn --delete rsync.pld-linux.org::pld/branches/titanium/$dst_tree/$tree_arch/ \
+rsync -vrltn --delete $rsync_url/branches/titanium/$dst_tree/$tree_arch/ \
  $mirror_dir/branches/titanium/$dest_tree/$tree_arch > $rsync_log
 
 grep ".rpm" $rsync_log | grep -v "deleting" |grep -v "packages.dir" \
@@ -32,9 +33,8 @@
 rm -f $rsync_log $files_log
 }
 
-check_trees i686 test ready
-check_trees noarch test ready
-check_trees i686 ready PLD
-check_trees noarch ready PLD
-check_trees i686 test PLD
-check_trees noarch test PLD
+for pld_arch in noarch i586 i686 x86_64; do
+  check_trees $pld_arch test ready
+  check_trees $pld_arch ready PLD
+  check_trees $pld_arch test PLD
+done


More information about the pld-cvs-commit mailing list