]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Meta/Make: make it easier to test bootstrapping
authorJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 07:44:24 +0000 (00:44 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 26 Jul 2008 07:44:24 +0000 (00:44 -0700)
Make

diff --git a/Make b/Make
index 001992d7bc0519ce345fcd39d775b18cfd759577..041650911807617b2d0006d40d63c69d6582f20d 100755 (executable)
--- 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