Dothem: build 'pu' last
Junio C Hamano committed
Sep 7, 2009 at 17:51 UTC
fa10d2d383a5715560c8bd081e959d721d7a1643
1 file changed
+8
-2
Dothem
+8
-2
index 8c59d404f8..710d7c1619 100755
--- a/Dothem
+++ b/Dothem
@@ -52,7 +52,7 @@ then
exit 1
fi
fi
-test -n "$branches" || branches='next master maint pu jch'
+test -n "$branches" || branches='next master maint jch pu'
test -n "$jobs" || jobs=-j2
for branch in $branches
@@ -136,6 +136,7 @@ do
;;
esac &&
+ save=$(git rev-parse HEAD) &&
{
test "z$with_dash" != 'zy' ||
Meta/Make $M $test -- $jobs SHELL_PATH=/bin/dash $dotest
@@ -149,7 +150,12 @@ do
{
test z$install = znoinstall ||
- Meta/Make $M -- install
+ if test "$save" = "$(git rev-parse HEAD)"
+ then
+ Meta/Make $M -- install
+ else
+ echo >&2 "Head moved--not installing"
+ fi
} || exit $?
git reset --hard