Dothem --scratch
Junio C Hamano committed
Oct 11, 2009 at 17:22 UTC
c85c96d98cdbf4d96a7a5667944d714a68abf1c6
1 file changed
+10
Dothem
+10
index 710d7c1619..47c9fb9787 100755
--- a/Dothem
+++ b/Dothem
@@ -17,6 +17,7 @@ inst_prefix=$(
)
force= with_dash= M= install= nodoc= notest= bootstrap= branches= jobs=
+scratch=
while case "$1" in
--pedantic | --locale=* | --loose) M="$M $1" ;;
--force) force=$1 ;;
@@ -25,6 +26,7 @@ while case "$1" in
--nodoc) nodoc=y ;;
--notest) notest=y ;;
--test=*) test="$1" ;;
+ --scratch) scratch=y ;;
--bootstrap) bootstrap=y ;;
--base=*) BUILDBASE=${1#*=} ;;
--branches=*) branches=${1#*=} ;;
@@ -125,6 +127,14 @@ do
git reset --hard || exit
esac &&
+ case "$scratch" in
+ '')
+ ;;
+ y)
+ Meta/Make clean
+ ;;
+ esac &&
+
case "$private" in
'')
;;