From 37911d137749fe97eb774a37fcc5e62d66682f93 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 26 Jul 2008 00:44:24 -0700 Subject: [PATCH] Meta/Make: make it easier to test bootstrapping --- Make | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Make b/Make index 001992d7bc..0416509118 100755 --- a/Make +++ b/Make @@ -4,7 +4,14 @@ # PATH=/usr/bin:/bin G=/opt/packrat/playpen/public/in-place/git/index/gitweb_config.perl -GIT=$HOME/git-master/bin/git +for i in active maint master next +do + GIT="$HOME/git-$i/bin/git" + test -f "$GIT" && break +done +test -f "$GIT" || { + echo >&2 "No git to bootstrap" +} PATH=/usr/bin:/bin LANG=C LC_ALL=C