summaryrefslogtreecommitdiff
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
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>
-rw-r--r--THANKS1
-rwxr-xr-xbootstrap2
-rwxr-xr-xgl/build-aux/bootstrap.in2
3 files changed, 2 insertions, 3 deletions
diff --git a/THANKS b/THANKS
index 63d3ea2e..de0cfded 100644
--- a/THANKS
+++ b/THANKS
@@ -78,7 +78,6 @@
Brad Smith brad@comstyle.com
Brent Leback brent.leback@st.com
Brian Barrett brbarret@osl.iu.edu
- Bruce Korb bruce.korb@gmail.com
Bruno Haible haible@ilog.fr
Brice De Bruyne bricedb@gmail.com
Camilo La Rota camilo.larota@ens-lyon.fr
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
}
diff --git a/gl/build-aux/bootstrap.in b/gl/build-aux/bootstrap.in
index d0276f60..266eb20d 100755
--- a/gl/build-aux/bootstrap.in
+++ b/gl/build-aux/bootstrap.in
@@ -1367,7 +1367,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
}