OSDN Git Service

* bin: New directory.
[pf3gnuchains/gcc-fork.git] / contrib / reghunt / bin / gcc-cleanup
1 #! /bin/sh
2
3 # Clean up between regression hunts.
4
5 if [ "x${REG_SRCDIR}" = "x" ]; then
6    if [ -f gcc-svn-env ]; then
7     . ./gcc-svn-env
8   elif [ -f ../gcc-svn-env ]; then
9     . ../gcc-svn-env
10   elif [ -f ${HOME}/etc/gcc-svn-env ]; then
11     . ${HOME}/etc/gcc-svn-env
12   else
13     echo "$0: could not find gcc-svn-env file"
14     exit 1
15   fi
16 fi
17
18 rm -rf ${REG_SRCDIR}/gcc
19 rm -rf ${REG_BUILDDIR}/obj
20 rm -rf ${REG_PREFIX}