summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-01-15 20:10:29 +1300
committerGary V. Vaughan <gary@gnu.org>2014-01-15 20:45:31 +1300
commit64367d3499ec323af2e18326996c8c73924eab50 (patch)
tree21dd9b4408d0f74efad9ed6c1fdf007cd5f01254 /bootstrap
parent2f75576d051fad9a8c0b274c5be1289d57c0b636 (diff)
downloadlibtool-64367d3499ec323af2e18326996c8c73924eab50.tar.gz
bootstrap: check for git checkout correctly.
* gl/bulid-aux/bootstrap.in (func_require_git): Use .git instead of .gitignore to recognise a git checkout. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap b/bootstrap
index db312556..2094e73a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3698,8 +3698,8 @@ func_require_git ()
$opt_skip_git && GIT=true
test true = "$GIT" || {
- if test -f .gitignore && ($GIT --version) >/dev/null 2>&1; then :; else
- GIT=true
+ if test -f .git; then
+ ($GIT --version) >/dev/null 2>&1 || GIT=true
fi
}