Restore previous display for sum and product signs in ASCII art mode;
[maxima.git] / archive / bin / distribute
blobaa1583130b955658d6dd71735abc46a0de702eb9
1 #!/bin/sh
2 NAME="maxima-`cat majvers`.`cat minvers`"
3 DIR=`basename ${PWD}`
4 (cd .. ; rm -f ${NAME} ; ln -s ${DIR} ${NAME})
5 FTPDIR="/usr2/ftp/pub/"
6 if [ $# -eq 1 ] ; then FILE=$1 ;else FILE="${FTPDIR}/${NAME}.tgz" ;fi
7 cd ..
8 tar cvf - `./${DIR}/bin/maxima-files ${NAME} ${DIR}` | gzip -9 -c > ${FILE}
9 if [ $# -eq 1 ] ; then true
10 else
11 cp /usr2/maxima/src/ChangeLog /usr2/ftp/pub/maxima-ChangeLog
12 cd /usr2/ftp/pub
13 rm -rf ${FILE}-split
14 /usr/local/bin/split ${NAME}
15 (cd ${FILE}-split ; sum *split* > CHECKSUMS.BSD )