Skip to content

Commit c2c450d

Browse files
committed
NMake needs caret to escape
1 parent 6b2d9ed commit c2c450d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

common.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ prepare-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=extract-gems)
15391539
extract-gems: $(HAVE_BASERUBY:yes=update-gems) $(HAVE_BASERUBY:yes=outdate-bundled-gems)
15401540
update-gems: $(HAVE_BASERUBY:yes=outdate-bundled-gems)
15411541

1542-
split_option = -F"\s+|\#.*"
1542+
split_option = -F"\s+|$(HASH).*"
15431543

15441544
update-gems$(sequential): PHONY
15451545
$(ECHO) Downloading bundled gem files...

template/Makefile.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,8 @@ ABI_VERSION_HDR = $(hdrdir)/ruby/internal/abi.h
289289

290290
CAT_DEPEND = sed -e 's/{\$$([^(){}]*)[^{}]*}//g' -e /AUTOGENERATED/q
291291

292+
HASH = \#
293+
292294
.SUFFIXES: .inc .h .c .y .i .$(ASMEXT) .$(DTRACE_EXT)
293295

294296
all:

win32/Makefile.sub

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ ASMEXT = asm
464464

465465
INSTALLED_LIST= .installed.list
466466

467+
HASH = ^#
467468
SRC_FILE = $(<:\=/)
468469
OS_SRC_FILE = $(<:/=\)
469470
DEST_FILE = $(@:\=/)

0 commit comments

Comments
 (0)