diff options
author | rsc <devnull@localhost> | 2005-01-14 20:13:15 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-14 20:13:15 +0000 |
commit | 40bc3b9540c2680cbddc12d6cf43a4fc114c5477 (patch) | |
tree | e248e8e964405a09f7cb0a6b2b61b0ebddbce849 /dist/maketarball | |
parent | 638f5c0d2fde7dcab1ac7d91d6b09e8c14a2a815 (diff) | |
download | plan9port-40bc3b9540c2680cbddc12d6cf43a4fc114c5477.tar.gz plan9port-40bc3b9540c2680cbddc12d6cf43a4fc114c5477.tar.bz2 plan9port-40bc3b9540c2680cbddc12d6cf43a4fc114c5477.zip |
maketarball
Diffstat (limited to 'dist/maketarball')
-rw-r--r-- | dist/maketarball | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dist/maketarball b/dist/maketarball new file mode 100644 index 00000000..814ee628 --- /dev/null +++ b/dist/maketarball @@ -0,0 +1,19 @@ +#!/u/rsc/plan9/bin/rc + +# cvs update +cd $home/tmp/plan9cvs/plan9 || exit 1 +cvs up -dAP >[2=1] | grep -v Updating >$home/tmp/cvslog + +# exit if no changes and not being forced +if(! test -s $home/tmp/cvslog && ~ $#* 0) + exit 0 + +# create new tar ball +cd .. +tar cf - plan9 | gzip > plan9port.tgz + +# install on web +web=/u/rsc/www/swtch.com/plan9port +mv $web/plan9port.tgz $web/_plan9port.tgz && +mv plan9port.tgz $web/plan9port.tgz + |