mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
maketarball
This commit is contained in:
parent
638f5c0d2f
commit
40bc3b9540
1 changed files with 19 additions and 0 deletions
19
dist/maketarball
vendored
Normal file
19
dist/maketarball
vendored
Normal file
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue