Skip to content

Commit d2c029c

Browse files
author
Junio C Hamano
committed
KO procedure updates.
1 parent f6cd1a7 commit d2c029c

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

DoKernelOrg

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,23 @@ case "$1" in
1515
'')
1616
echo "* Building all"
1717
{
18-
make $J install &&
19-
make test &&
20-
make clean &&
21-
git checkout pu &&
22-
make $J clean &&
23-
make test clean
18+
nstalled=install
19+
for branch in naster master maint pu
20+
do
21+
if git-rev-parse --verify refs/heads/$branch 2>/dev/null
22+
then
23+
echo "** $branch **" &&
24+
git checkout $branch &&
25+
make $J $nstalled &&
26+
make test &&
27+
make clean &&
28+
nstalled=all || exit $?
29+
else
30+
echo
31+
echo "* NO $branch"
32+
echo
33+
fi
34+
done
2435
} >:all.log 2>&1
2536
;;
2637
maint | master)

0 commit comments

Comments
 (0)