comparison package @ 117:aa07452e641b

uribl patch from Jeff Evans <jeffe@tricab.com>
author carl
date Sun, 12 Mar 2006 10:15:39 -0800
parents a893afee4b80
children 9330b8d6a56b
comparison
equal deleted inserted replaced
116:0094678a16d0 117:aa07452e641b
5 VER=`echo $T | cut -d, -f2 | cut -d')' -f1` 5 VER=`echo $T | cut -d, -f2 | cut -d')' -f1`
6 BALL=$NAME-$VER.tar.gz 6 BALL=$NAME-$VER.tar.gz
7 web=/home/httpd/html/510sg/$NAME 7 web=/home/httpd/html/510sg/$NAME
8 distlog=/tmp/distcheck 8 distlog=/tmp/distcheck
9 9
10 mkdir -p $web
10 chown --recursive root:root * 11 chown --recursive root:root *
11 make -f *cvs 12 make -f *cvs
12 ./configure >/dev/null 13 ./configure >/dev/null
13 (cd xml; make; make distclean) 14 (cd xml; make; make distclean)
14 cp -a html/*html $web 15 cp -a html/*html $web
41 ssh $target "cd /tmp; rpmbuild -ta $BALL" 42 ssh $target "cd /tmp; rpmbuild -ta $BALL"
42 43
43 # add packages to the web site 44 # add packages to the web site
44 wp=$web/packages 45 wp=$web/packages
45 wp4=$wp/centos4 46 wp4=$wp/centos4
47 mkdir -p $wp4
46 rp=/usr/src/redhat 48 rp=/usr/src/redhat
47 mv -f $BALL $wp 49 mv -f $BALL $wp
48 scp $target:$rp/SRPMS/$NAME-$VER*rpm $wp 50 scp $target:$rp/SRPMS/$NAME-$VER*rpm $wp
49 scp $target:$rp/RPMS/i386/$NAME-$VER*rpm $wp4 51 scp $target:$rp/RPMS/i386/$NAME-$VER*rpm $wp4
50 (cd $web; chown --recursive web:web *; ls -alR) 52 (cd $web; chown --recursive web:web *; ls -alR)