comparison 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
comparison
equal deleted inserted replaced
151:0e8ec3c483ce 152:c7fc218686f5
35 ## fi 35 ## fi
36 cd .. 36 cd ..
37 cd .. 37 cd ..
38 38
39 # build rpm on target 39 # build rpm on target
40 target=host62 40 target5=pmg2
41 scp $BALL $target:/tmp 41 scp $BALL $target5:/tmp
42 ssh $target "cd /tmp; rpmbuild -ta $BALL" 42 ssh $target5 "cd /tmp; rpmbuild -ta $BALL"
43
44 # build rpm on target
45 target4=host62
46 scp $BALL $target4:/tmp
47 ssh $target4 "cd /tmp; rpmbuild -ta $BALL"
43 48
44 # add packages to the web site 49 # add packages to the web site
45 wp=$web/packages 50 wp=$web/packages
46 wp4=$wp/centos4 51 wp4=$wp/centos4
47 mkdir -p $wp4 52 wp5=$wp/centos5
53 mkdir -p $wp4 $wp5
48 rp=/usr/src/redhat 54 rp=/usr/src/redhat
49 mv -f $BALL $wp 55 mv -f $BALL $wp
50 scp $target:$rp/SRPMS/$NAME-$VER*rpm $wp 56 scp $target4:$rp/SRPMS/$NAME-$VER*rpm $wp
51 scp $target:$rp/RPMS/i386/$NAME-$VER*rpm $wp4 57 scp $target4:$rp/RPMS/i386/$NAME-$VER*rpm $wp4
58 scp $target5:$rp/RPMS/i386/$NAME-$VER*rpm $wp5
52 (cd $web; chown --recursive web:web *; ls -alR) 59 (cd $web; chown --recursive web:web *; ls -alR)
53 rpm -ql -p $wp4/$NAME-$VER*6.rpm 60 rpm -ql -p $wp4/$NAME-$VER*6.rpm
61 rpm -ql -p $wp5/$NAME-$VER*6.rpm
54 fi 62 fi
55 else 63 else
56 tail -10 $distlog 64 tail -10 $distlog
57 fi 65 fi
58 chown --recursive carl:carl * 66 chown --recursive carl:carl *