view clean.sh @ 887:2499abcf2df1

Add a clean.sh script, to "rm -rf build/*-*". What it does is fairly trivial, but not necessarily obvious, and it's an excuse to add a big comment explaining things.
author Rob Landley <rob@landley.net>
date Sun, 15 Nov 2009 14:50:25 -0600
parents
children 626288dd5cf3
line wrap: on
line source

#!/bin/bash

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

# This leaves build.packages and build/host alone.  (You can delete those
# too if you like, rm -rf build is safe, it just means ./download.sh --extract
# and ./host-tools.sh will have to do their thing again, which takes a while.)

rm -rf build/*-*