build: allow ./bootstrap --srcdir=... to work with a git submodule
authorJim Meyering <meyering@redhat.com>
Sat, 7 Mar 2009 15:11:54 +0000 (16:11 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 7 Mar 2009 17:12:03 +0000 (18:12 +0100)
* bootstrap (git_modules_config): Use GIT_CONFIG, not GIT_CONFIG_LOCAL.
The latter was removed in v1.5.6.1-109-gdc87183.

bootstrap

index 3264171..27e4ec2 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -2,7 +2,7 @@
 
 # Bootstrap this package from checked-out sources.
 
-# Copyright (C) 2003-2008 Free Software Foundation, Inc.
+# Copyright (C) 2003-2009 Free Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -342,7 +342,7 @@ cleanup_gnulib() {
 }
 
 git_modules_config () {
-  GIT_CONFIG_LOCAL=.gitmodules git config "$@"
+  GIT_CONFIG=.gitmodules git config "$@"
 }
 
 # Get gnulib files.