From d2c029c64c296201a52bd869ea1835e1a71b9f2b Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Tue, 27 Dec 2005 18:19:24 -0800 Subject: [PATCH] KO procedure updates. --- DoKernelOrg | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/DoKernelOrg b/DoKernelOrg index 1c10ea6f4f..267918d130 100755 --- a/DoKernelOrg +++ b/DoKernelOrg @@ -15,12 +15,23 @@ case "$1" in '') echo "* Building all" { - make $J install && - make test && - make clean && - git checkout pu && - make $J clean && - make test clean + nstalled=install + for branch in naster master maint pu + do + if git-rev-parse --verify refs/heads/$branch 2>/dev/null + then + echo "** $branch **" && + git checkout $branch && + make $J $nstalled && + make test && + make clean && + nstalled=all || exit $? + else + echo + echo "* NO $branch" + echo + fi + done } >:all.log 2>&1 ;; maint | master) -- 2.11.4.GIT