Dothem: build 'pu' last
Junio C Hamano committed
Sep 7, 2009 at 17:51 UTC
fa10d2d383a5715560c8bd081e959d721d7a1643
1 file changed
+8
-2
Dothem
+8
-2
@@ -52,7 +52,7 @@ then
52
exit 1
53
fi
54
fi
55
-test -n "$branches" || branches='next master maint pu jch'
55
+test -n "$branches" || branches='next master maint jch pu'
56
test -n "$jobs" || jobs=-j2
57
58
for branch in $branches
@@ -136,6 +136,7 @@ do
136
;;
137
esac &&
138
139
+ save=$(git rev-parse HEAD) &&
140
{
141
test "z$with_dash" != 'zy' ||
142
Meta/Make $M $test -- $jobs SHELL_PATH=/bin/dash $dotest
@@ -149,7 +150,12 @@ do
150
151
{
152
test z$install = znoinstall ||
152
- Meta/Make $M -- install
153
+ if test "$save" = "$(git rev-parse HEAD)"
154
+ then
155
+ Meta/Make $M -- install
156
+ else
157
+ echo >&2 "Head moved--not installing"
158
+ fi
159
} || exit $?
160
161
git reset --hard