summaryrefslogtreecommitdiffstats
path: root/scripts/scrubtree
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-06-12 02:03:59 +0000
committerJeremy Katz <katzj@redhat.com>2003-06-12 02:03:59 +0000
commitd1aa5609c1845ad8c7bbd123e6e1e7197171719a (patch)
tree7a00cd578da353801c5c8dbb06f31c800a5afebd /scripts/scrubtree
parent3eaede5dcc6b0e5addf1269119ada194fd2d6852 (diff)
downloadanaconda-d1aa5609c1845ad8c7bbd123e6e1e7197171719a.tar.gz
anaconda-d1aa5609c1845ad8c7bbd123e6e1e7197171719a.tar.xz
anaconda-d1aa5609c1845ad8c7bbd123e6e1e7197171719a.zip
merge from taroon. fixes driver disks, side effect of pulling in new
buildinstall stuff
Diffstat (limited to 'scripts/scrubtree')
-rwxr-xr-xscripts/scrubtree9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/scrubtree b/scripts/scrubtree
index 3e3b20f33..7d89d8e04 100755
--- a/scripts/scrubtree
+++ b/scripts/scrubtree
@@ -1,5 +1,12 @@
#!/bin/bash
+DEBUG=""
+
+if [ "$1" == "--debug" ]; then
+ DEBUG="--debug"
+ shift
+fi
+
if [ -z "$1" ]; then
echo "Usage: $0 /path/to/tree"
exit 1
@@ -48,7 +55,7 @@ while [ -n "$1" ]; do
if [ ! -f "$1" ]; then
ln -sf ./busybox $1
else
- echo "Overriding busybox version of $1"
+ [ -n "$DEBUG" ] && echo "Overriding busybox version of $1"
fi
fi
shift