Doit: add -noinstall

This commit is contained in:
Junio C Hamano 2009-01-23 10:47:39 -08:00
parent 1469eaa3e3
commit 67b8da7260

6
Doit
View file

@ -6,6 +6,7 @@ while case "$1" in
-pedantic) M=$1 ;; -pedantic) M=$1 ;;
-force) force=$1 ;; -force) force=$1 ;;
-dash) with_dash=y ;; -dash) with_dash=y ;;
-noinstall) install=noinstall ;;
*) break ;; *) break ;;
esac esac
do do
@ -91,7 +92,10 @@ do
*) *)
: ;; : ;;
esac && esac &&
Meta/Make $M -- install && {
test z$install = znoinstall ||
Meta/Make $M -- install
} &&
Meta/Make clean || exit $? Meta/Make clean || exit $?
git reset --hard git reset --hard