5 if [ -d snapshots
]; then
6 echo "snapshots directory already exists. Exiting." >& 2
13 cvs
-z6 -d cvs.Maxima.sourceforge.net
:/cvsroot
/maxima co maxima
14 if [ "$?" != "0" ]; then
15 echo "cvs checkout failed. Aborting"
20 # change CVS/Root files to anonymous
21 echo ':pserver:anonymous@cvs.Maxima.sourceforge.net:/cvsroot/maxima' > Root
22 find maxima
-name Root
-exec cp Root
{} \
;
26 thisdate
="`date +'%F'`"
27 sed "s/AM_INIT_AUTOMAKE(maxima,.*/AM_INIT_AUTOMAKE(maxima,cvs-$thisdate)/" configure.
in > tmp
33 cp -r maxima maxima-doc
38 cp *.info
* *.html ..
/..
/..
/maxima
/doc
/info
42 maximadate
="maxima-$thisdate"
43 mv maxima
"$maximadate"
44 zip -r "$maximadate".
zip "$maximadate"
45 tar zcf
"$maximadate".
tar.gz
"$maximadate"