Dothem --scratch

Junio C Hamano committed Oct 11, 2009 at 17:22 UTC c85c96d98cdbf4d96a7a5667944d714a68abf1c6
1 file changed +10
Dothem
+10
@@ -17,6 +17,7 @@ inst_prefix=$(
17 )
18
19 force= with_dash= M= install= nodoc= notest= bootstrap= branches= jobs=
20 +scratch=
21 while case "$1" in
22 --pedantic | --locale=* | --loose) M="$M $1" ;;
23 --force) force=$1 ;;
@@ -25,6 +26,7 @@ while case "$1" in
26 --nodoc) nodoc=y ;;
27 --notest) notest=y ;;
28 --test=*) test="$1" ;;
29 + --scratch) scratch=y ;;
30 --bootstrap) bootstrap=y ;;
31 --base=*) BUILDBASE=${1#*=} ;;
32 --branches=*) branches=${1#*=} ;;
@@ -125,6 +127,14 @@ do
127 git reset --hard || exit
128 esac &&
129
130 + case "$scratch" in
131 + '')
132 + ;;
133 + y)
134 + Meta/Make clean
135 + ;;
136 + esac &&
137 +
138 case "$private" in
139 '')
140 ;;