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>
This commit is contained in:
Bruce Korb 2014-02-03 17:16:44 +13:00 committed by Gary V. Vaughan
parent 70ff0e04c9
commit 4d57e0905a
3 changed files with 2 additions and 3 deletions

1
THANKS
View File

@ -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

View File

@ -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
}

View File

@ -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
}