mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Makefile.sub: fix HAVE_GIT
* win32/Makefile.sub (HAVE_GIT): fix missing `do`, excape `$`, and fix a typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b1ea4dd6a2
commit
0fed8a6323
1 changed files with 3 additions and 3 deletions
|
@ -399,14 +399,14 @@ GIT = git
|
|||
!if "$(HAVE_GIT)" == "yes" || "$(HAVE_GIT)" == "no"
|
||||
!else if "$(GIT)" == ""
|
||||
HAVE_GIT = no
|
||||
!else if [for %I in ($(GIT)) @if not "%~xI" == "" exit 1]
|
||||
! if [for %I in ($(GIT)) @if not "%~$PATH:I" == "" exit 1]
|
||||
!else if [for %I in ($(GIT)) do @if not "%~xI" == "" exit 1]
|
||||
! if [for %I in ($(GIT)) do @if not "%~$$PATH:I" == "" exit 1]
|
||||
HAVE_GIT = yes
|
||||
! else
|
||||
HAVE_GIT = no
|
||||
! endif
|
||||
!else
|
||||
! if [for %x in (%PATHEXT:;= %) do @for %I in ($(GIT)%x) do @if not "%~$PATH:I" == . exit 1]
|
||||
! if [for %x in (%PATHEXT:;= %) do @for %I in ($(GIT)%x) do @if not "%~$$PATH:I" == "" exit 1]
|
||||
HAVE_GIT = yes
|
||||
! else
|
||||
HAVE_GIT = no
|
||||
|
|
Loading…
Reference in a new issue