ruby-changes:46186
From: nobu <ko1@a...>
Date: Mon, 10 Apr 2017 11:13:56 +0900 (JST)
Subject: [ruby-changes:46186] nobu:r58299 (trunk): Makefile.sub: fix HAVE_GIT
nobu 2017-04-10 11:13:52 +0900 (Mon, 10 Apr 2017) New Revision: 58299 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58299 Log: Makefile.sub: fix HAVE_GIT * win32/Makefile.sub (HAVE_GIT): fix missing `do`, excape `$`, and fix a typo. Modified files: trunk/win32/Makefile.sub Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 58298) +++ win32/Makefile.sub (revision 58299) @@ -399,14 +399,14 @@ GIT = git https://github.com/ruby/ruby/blob/trunk/win32/Makefile.sub#L399 !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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/