From: Junio C Hamano Date: Wed, 28 Dec 2005 02:19:24 +0000 (-0800) Subject: KO procedure updates. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d2c029c64c296201a52bd869ea1835e1a71b9f2b;p=git.git KO procedure updates. --- diff --git a/DoKernelOrg b/DoKernelOrg index 1c10ea6f..267918d1 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)