diff package @ 152:c7fc218686f5

gpl3, block mail to recipients that cannot reply
author carl
date Sat, 07 Jul 2007 10:26:31 -0700
parents 9330b8d6a56b
children 8f4a9a37d4d9
line wrap: on
line diff
--- a/package	Tue Mar 27 15:24:43 2007 -0700
+++ b/package	Sat Jul 07 10:26:31 2007 -0700
@@ -37,20 +37,28 @@
         cd ..
 
         # build rpm on target
-        target=host62
-        scp $BALL $target:/tmp
-        ssh $target "cd /tmp; rpmbuild -ta $BALL"
+        target5=pmg2
+        scp $BALL $target5:/tmp
+        ssh $target5 "cd /tmp; rpmbuild -ta $BALL"
+
+        # build rpm on target
+        target4=host62
+        scp $BALL $target4:/tmp
+        ssh $target4 "cd /tmp; rpmbuild -ta $BALL"
 
         # add packages to the web site
         wp=$web/packages
         wp4=$wp/centos4
-        mkdir -p $wp4
+        wp5=$wp/centos5
+        mkdir -p $wp4 $wp5
         rp=/usr/src/redhat
         mv -f $BALL $wp
-        scp $target:$rp/SRPMS/$NAME-$VER*rpm $wp
-        scp $target:$rp/RPMS/i386/$NAME-$VER*rpm $wp4
+        scp $target4:$rp/SRPMS/$NAME-$VER*rpm $wp
+        scp $target4:$rp/RPMS/i386/$NAME-$VER*rpm $wp4
+        scp $target5:$rp/RPMS/i386/$NAME-$VER*rpm $wp5
         (cd $web; chown --recursive web:web *; ls -alR)
         rpm -ql -p $wp4/$NAME-$VER*6.rpm
+        rpm -ql -p $wp5/$NAME-$VER*6.rpm
     fi
 else
     tail -10 $distlog