maint: bootstrap: sync submodule usage from gnulib

* bootstrap: Config for git submodule use only if .gitmodules exists.
This commit is contained in:
Jim Meyering 2009-06-28 11:25:13 +02:00
parent 07c6f21b81
commit f24b825171

View File

@ -342,7 +342,7 @@ cleanup_gnulib() {
}
git_modules_config () {
GIT_CONFIG=.gitmodules git config "$@"
test -f .gitmodules && git config --file .gitmodules "$@"
}
# Get gnulib files.