mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
bootstrap: use -d .git
to check whether we are in a git tree.
* gl/build-aux/bootstrap.in (func_require_git): .git is not a regular file, use -d to check its existence. * bootstrap: Regenerate. * THANKS: Add Bruce Korb. Reported by Bruce Korb Copyright-paperwork-exempt: Yes Signed-off-by: Gary V. Vaughan <gary@gnu.org>
This commit is contained in:
parent
525cddd2bc
commit
70ff0e04c9
1
THANKS
1
THANKS
@ -78,6 +78,7 @@
|
||||
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
|
||||
|
@ -2563,7 +2563,7 @@ test extract-trace = "$progname" && func_main "$@"
|
||||
# End:
|
||||
|
||||
# Set a version string for *this* script.
|
||||
scriptversion=2014-01-04.01; # UTC
|
||||
scriptversion=2014-01-27.02; # UTC
|
||||
|
||||
|
||||
## ------------------- ##
|
||||
@ -3698,7 +3698,7 @@ func_require_git ()
|
||||
$opt_skip_git && GIT=true
|
||||
|
||||
test true = "$GIT" || {
|
||||
if test -f .git; then
|
||||
if test -d .git; then
|
||||
($GIT --version) >/dev/null 2>&1 || GIT=true
|
||||
fi
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ vc_ignore=
|
||||
. `echo "$0" |${SED-sed} 's|[^/]*$||'`"extract-trace"
|
||||
|
||||
# Set a version string for *this* script.
|
||||
scriptversion=2014-01-04.01; # UTC
|
||||
scriptversion=2014-01-27.02; # UTC
|
||||
|
||||
|
||||
## ------------------- ##
|
||||
@ -1367,7 +1367,7 @@ func_require_git ()
|
||||
$opt_skip_git && GIT=true
|
||||
|
||||
test true = "$GIT" || {
|
||||
if test -f .git; then
|
||||
if test -d .git; then
|
||||
($GIT --version) >/dev/null 2>&1 || GIT=true
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user