unbreak build, bad todd
[xxxterm.git] / release.sh
blob171035b806fd1124a6d8fb4d4801d8b3fdd70961
1 #!/bin/sh
3 # $xxxterm$
4 # XXX This sucks, I know. send me diffs to make it better
7 td=`mktemp -d /tmp/release.XXXXXXXXXX`
8 cd $td
9 cvs -d $(cat $1/CVS/Root) -Q export -D tomorrow xxxterm || exit 1
10 REL=$(awk '/ .xxxterm: xxxterm.c,v/{print $4;}' xxxterm/xxxterm.c)
11 mv xxxterm xxxterm-$REL
12 tar zcf xxxterm-$REL.tgz xxxterm-$REL
13 echo $td/xxxterm-$REL.tgz