From f24b82517184351d9b31b5f61dc36743c5f2758c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 28 Jun 2009 11:25:13 +0200 Subject: maint: bootstrap: sync submodule usage from gnulib * bootstrap: Config for git submodule use only if .gitmodules exists. --- bootstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 2731b7ed2..8fb2f2ce7 100755 --- 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. -- cgit v1.2.3-54-g00ecf