]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: bootstrap: sync submodule usage from gnulib
authorJim Meyering <meyering@redhat.com>
Sun, 28 Jun 2009 09:25:13 +0000 (11:25 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 28 Jun 2009 09:25:13 +0000 (11:25 +0200)
* bootstrap: Config for git submodule use only if .gitmodules exists.

bootstrap

index 2731b7ed2943dba9b064b4b0326e0f4c10f29488..8fb2f2ce72a365429679d4cb86c8c217f660c0ca 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -342,7 +342,7 @@ cleanup_gnulib() {
 }
 
 git_modules_config () {
-  GIT_CONFIG=.gitmodules git config "$@"
+  test -f .gitmodules && git config --file .gitmodules "$@"
 }
 
 # Get gnulib files.