about summary refs log blame commit diff stats
path: root/release.sh
blob: 171035b806fd1124a6d8fb4d4801d8b3fdd70961 (plain) (tree)
1
2
3
4
5
6
7
8
9





                                                          

                                      
                                                                 
                                                                  

                                     
                         
#!/bin/sh
#
# $xxxterm$
# XXX This sucks, I know.  send me diffs to make it better
#

td=`mktemp -d /tmp/release.XXXXXXXXXX`
cd $td
cvs -d $(cat $1/CVS/Root) -Q export -D tomorrow xxxterm || exit 1
REL=$(awk '/ .xxxterm: xxxterm.c,v/{print $4;}' xxxterm/xxxterm.c)
mv xxxterm xxxterm-$REL
tar zcf xxxterm-$REL.tgz xxxterm-$REL
echo $td/xxxterm-$REL.tgz