Retro68/gcc/contrib/reghunt/bin/gcc-cleanup
Wolfgang Thaller aaf905ce07 add gcc 4.70
2012-03-28 01:13:14 +02:00

21 lines
414 B
Bash
Executable File

#! /bin/sh
# Clean up between regression hunts.
if [ "x${REG_SRCDIR}" = "x" ]; then
if [ -f gcc-svn-env ]; then
. ./gcc-svn-env
elif [ -f ../gcc-svn-env ]; then
. ../gcc-svn-env
elif [ -f ${HOME}/etc/gcc-svn-env ]; then
. ${HOME}/etc/gcc-svn-env
else
echo "$0: could not find gcc-svn-env file"
exit 1
fi
fi
rm -rf ${REG_SRCDIR}/gcc
rm -rf ${REG_BUILDDIR}/obj
rm -rf ${REG_PREFIX}