]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
bootstrap: check for git tree with .git/. in case of soft links.
authorBruce Korb <bkorb@gnu.org>
Mon, 3 Feb 2014 04:16:44 +0000 (17:16 +1300)
committerGary V. Vaughan <gary@gnu.org>
Mon, 3 Feb 2014 04:16:44 +0000 (17:16 +1300)
* 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>
THANKS
bootstrap
gl/build-aux/bootstrap.in

diff --git a/THANKS b/THANKS
index 63d3ea2eab76fc38291332cbb0a581959ccd3420..de0cfded57272cd1461fa137aba4dab9cac65816 100644 (file)
--- 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
index 4e24dbf44709e29731b03f3ea743d6eaadc5a54a..feb20a188da136ab81d79a4c01b303b809ff3861 100755 (executable)
--- 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
     }
index d0276f609f9a452c6be9ab483a3b9592b89a1d90..266eb20d8faaa8fa1799a5087c7fd9345c808c9c 100755 (executable)
@@ -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
     }