#!/bin/bash # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * # * This source file is part of SableVM. * # * * # * See the file "LICENSE" for the copyright information and for * # * the terms and conditions for copying, distribution and * # * modification of this source file. * # * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * SVMVER=$1 STARTDIR="`pwd`" svn co "${SVN}/sablevm/tags/sablevm-${SVMVER}" "${STARTDIR}/sablevm" cd "${STARTDIR}/sablevm" ./autogen.sh ./configure make distcheck mv sablevm-*.tar.gz .. cd "${STARTDIR}" rm -rf "${STARTDIR}/sablevm" svn co "${SVN}/sablevm-classpath/tags/sablevm-classpath-${SVMVER}" "${STARTDIR}/sablevm-classpath" cd "${STARTDIR}/sablevm-classpath" ./autogen.sh ./configure make distcheck mv sablevm-classpath-*.tar.gz .. cd "${STARTDIR}" rm -rf "${STARTDIR}/sablevm-classpath" rm "${STARTDIR}/work/*" -rf tar -xzf "sablevm-${SVMVER}.tar.gz" cd "${STARTDIR}/sablevm-${SVMVER}" ./configure --prefix="${STARTDIR}/work" make make install cd ${STARTDIR} rm -rf "${STARTDIR}/sablevm-${SVMVER}" tar -xzf "sablevm-classpath-${SVMVER}.tar.gz" cd "${STARTDIR}/sablevm-classpath-${SVMVER}" ./configure --prefix="${STARTDIR}/work" make make install cd ${STARTDIR} rm -rf "${STARTDIR}/sablevm-classpath-${SVMVER}"