summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorBruce Korb <bkorb@gnu.org>2014-02-03 17:16:44 +1300
committerGary V. Vaughan <gary@gnu.org>2014-02-03 17:16:44 +1300
commit4d57e0905a2c5ba0e537c8b3ccc116cdc0240c5d (patch)
treecb26091c0ee1efe8fe567084b4f9c27c0ecaacd0 /bootstrap
parent70ff0e04c9dda19b74c88005abed3c1ca4adc3fc (diff)
downloadlibtool-4d57e0905a2c5ba0e537c8b3ccc116cdc0240c5d.tar.gz
bootstrap: check for git tree with .git/. in case of soft links.
* gl/build-aux/bootstrap.in (func_require_git): Use `test -d .git/.` to defeat soft-links versus non-GNU test. * bootstrap: Regenerate. * THANKS: Remove duplicate Bruce Korb entry. Copyright-paperwork-exempt: Yes Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 4e24dbf4..feb20a18 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3698,7 +3698,7 @@ func_require_git ()
$opt_skip_git && GIT=true
test true = "$GIT" || {
- if test -d .git; then
+ if test -d .git/.; then
($GIT --version) >/dev/null 2>&1 || GIT=true
fi
}