clisp/clisp-autoupdate

13 lines
388 B
Plaintext
Raw Permalink Normal View History

#!/bin/bash
VERSION=$1
if [ "${VERSION}" == "2.49.93" ]; then
REF=b55b8196c9f25428304ec3de87383319fd1f2264
else
echo "ERROR: add ${VERSION} hg ref in clisp-autoupdate file."
exit 1
fi
#hg clone -r ${REF} http://hg.code.sf.net/p/clisp/clisp clisp-${VERSION} || exit 1
rm -rf clisp-${VERSION}/.hg
tar cjf clisp-${VERSION}.tar.bz2 clisp-${VERSION} || exit 1
rm -rf clisp-${VERSION}