summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-06-28 11:25:13 +0200
committerJim Meyering <meyering@redhat.com>2009-06-28 11:25:13 +0200
commitf24b82517184351d9b31b5f61dc36743c5f2758c (patch)
tree50287e6b6040a99621c265917b2415a3ee71f1e9 /bootstrap
parent07c6f21b81fe6eeabc0bc2a8f468d8e1e08f7959 (diff)
downloadcoreutils-f24b82517184351d9b31b5f61dc36743c5f2758c.tar.xz
maint: bootstrap: sync submodule usage from gnulib
* bootstrap: Config for git submodule use only if .gitmodules exists.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
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.