Fix bootstrap for git 1.6.x
authorPaolo Bonzini <bonzini@gnu.org>
Sat, 27 Jun 2009 10:54:35 +0000 (12:54 +0200)
committerPaolo Bonzini <bonzini@gnu.org>
Sat, 27 Jun 2009 12:45:07 +0000 (14:45 +0200)
2009-06-26  Paolo Bonzini  <bonzini@gnu.org>

* build-aux/bootstrap: Do not use GIT_CONFIG_LOCAL.

ChangeLog
build-aux/bootstrap

index 3e5fdb1..6425be7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-06-26  Paolo Bonzini  <bonzini@gnu.org>
+
+       * build-aux/bootstrap: Do not use GIT_CONFIG_LOCAL.
+
 2009-06-25  Eric Blake  <ebb9@byu.net>
 
        version-etc: fix regression
index 2087bab..9d93c86 100755 (executable)
@@ -245,7 +245,7 @@ cleanup_gnulib() {
 }
 
 git_modules_config () {
-  GIT_CONFIG_LOCAL=.gitmodules git config "$@"
+  test -f .gitmodules && git config --file .gitmodules "$@"
 }
 
 # Get gnulib files.