diff options
author | Gary V. Vaughan <gary@gnu.org> | 2014-01-15 20:10:29 +1300 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-01-15 20:45:31 +1300 |
commit | 64367d3499ec323af2e18326996c8c73924eab50 (patch) | |
tree | 21dd9b4408d0f74efad9ed6c1fdf007cd5f01254 /bootstrap | |
parent | 2f75576d051fad9a8c0b274c5be1289d57c0b636 (diff) | |
download | libtool-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-x | bootstrap | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |