view clean.sh @ 1306:8e10d025f1a5

Don't delete hdb.img if user specified an $HDB image. (It's caller's responsibility to make sure that the scratch disk is in a usable state.)
author Rob Landley <rob@landley.net>
date Wed, 01 Dec 2010 03:02:34 -0600
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/*-*