#!/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 -r "${SVMVER}" "${SVN}/developers/nizar/sandbox/sablevm" "${STARTDIR}/sablevm" cd "${STARTDIR}/sablevm" ./autogen.sh ./configure make distcheck mv sablevm-*.tar.gz .. cd "${STARTDIR}" rm -rf "${STARTDIR}/sablevm" svn co -r "${SVMVER}" "${SVN}/sablevm-classpath/trunk" "${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-nizar-debug+${SVMVER}.tar.gz" cd "${STARTDIR}/sablevm-nizar-debug+${SVMVER}" ./configure --prefix="${STARTDIR}/work" make make install cd ${STARTDIR} rm -rf "${STARTDIR}/sablevm-nizar-debug+${SVMVER}" tar -xzf "sablevm-classpath-trunk+${SVMVER}.tar.gz" cd "${STARTDIR}/sablevm-classpath-trunk+${SVMVER}" ./configure --prefix="${STARTDIR}/work" make make install cd ${STARTDIR} rm -rf "${STARTDIR}/sablevm-classpath-trunk+${SVMVER}"