view clean.sh @ 1211:e0c2ba5cc233

If environment sanitizing lets TOOLCHAIN_PREFIX through, it should let HOST_ARCH through too. And while we're at it, separate inherited variables from locally defined ones.
author Rob Landley <rob@landley.net>
date Mon, 16 Aug 2010 21:38:33 -0500
parents 3d2261361009
children
line wrap: on
line source

#!/bin/bash

# Delete all the target stages, to force them to rebuild next build.sh.

# This leaves build.packages and build/host alone.  You can delete those
# too if you like, "rm -rf build" is safe, it just means these steps will have
# to do their thing again:
#
#   EXTRACT_ALL=1 ./download.sh
#   ./host-tools.sh

rm -rf build/*-*