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 3e5fdb1a881b5adf00d9b09dce7cf4358493e90c..6425be7a12d44c078848e604580bd3ba7e89c155 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 2087bab8fc534834a3edb5476fc644fd5abff432..9d93c865f3d1f1573952050540681c586ef2a8aa 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.