Skip to content

Commit e61331e

Browse files
danbevaddaleax
authored andcommitted
build: fix node_g target
Currently when running make node_g the following error is displayed: if [ ! -r node -o ! -L ]; then ln -fs out/Debug/node node_g; fi /bin/sh: line 0: [: argument expected It looks like there was a typo for the NODE_EXE where node became lowercase instead of uppercase. Ref: #9827 PR-URL: #10153 Reviewed-By: Jeremiah Senkpiel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Italo A. Casas <[email protected]>
1 parent 9d04152 commit e61331e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ endif
7171
# See comments on the build-addons target for some more info
7272
$(NODE_EXE): config.gypi out/Makefile
7373
$(MAKE) -C out BUILDTYPE=Release V=$(V)
74-
if [ ! -r $(NODE_EXE) -o ! -L $(NODE_EXE) ]; then ln -fs out/Release/$(NODE_EXE) $@; fi
74+
if [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Release/$(NODE_EXE) $@; fi
7575

7676
$(NODE_G_EXE): config.gypi out/Makefile
7777
$(MAKE) -C out BUILDTYPE=Debug V=$(V)
78-
if [ ! -r $(NODE_EXE) -o ! -L $(node_EXE) ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi
78+
if [ ! -r $@ -o ! -L $@ ]; then ln -fs out/Debug/$(NODE_EXE) $@; fi
7979

8080
out/Makefile: common.gypi deps/uv/uv.gyp deps/http_parser/http_parser.gyp \
8181
deps/zlib/zlib.gyp deps/v8/gypfiles/toolchain.gypi \

0 commit comments

Comments
 (0)