diff options
author | Bruce Korb <bkorb@gnu.org> | 2014-02-03 17:16:44 +1300 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-02-03 17:16:44 +1300 |
commit | 4d57e0905a2c5ba0e537c8b3ccc116cdc0240c5d (patch) | |
tree | cb26091c0ee1efe8fe567084b4f9c27c0ecaacd0 | |
parent | 70ff0e04c9dda19b74c88005abed3c1ca4adc3fc (diff) | |
download | libtool-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-- | THANKS | 1 | ||||
-rwxr-xr-x | bootstrap | 2 | ||||
-rwxr-xr-x | gl/build-aux/bootstrap.in | 2 |
3 files changed, 2 insertions, 3 deletions
@@ -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 @@ -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 } |