From: Bruce Korb Date: Mon, 3 Feb 2014 04:16:44 +0000 (+1300) Subject: bootstrap: check for git tree with .git/. in case of soft links. X-Git-Tag: v2.4.3~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d57e0905a2c5ba0e537c8b3ccc116cdc0240c5d;p=thirdparty%2Flibtool.git 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 --- diff --git a/THANKS b/THANKS index 63d3ea2ea..de0cfded5 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 4e24dbf44..feb20a188 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 d0276f609..266eb20d8 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 }