maketarball (425B)
1 #!/u/rsc/plan9/bin/rc 2 3 # cvs update 4 cd $home/tmp/plan9cvs/plan9 || exit 1 5 cvs up -dAP >[2=1] | grep -v Updating >$home/tmp/cvslog 6 7 # exit if no changes and not being forced 8 if(! test -s $home/tmp/cvslog && ~ $#* 0) 9 exit 0 10 11 # create new tar ball 12 cd .. 13 tar cf - plan9 | gzip > plan9port.tgz 14 15 # install on web 16 web=/u/rsc/www/swtch.com/plan9port 17 mv $web/plan9port.tgz $web/_plan9port.tgz && 18 mv plan9port.tgz $web/plan9port.tgz 19