From 42efc9a21aa09d22ebe30345cd385706428eaf13 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 31 Aug 2015 15:42:04 -0700 Subject: [PATCH] Fix NODE_PRE_GYP variable `cd` outputs the resulting directory, which is not what is desired here. --- scripts/main.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/main.mk b/scripts/main.mk index 451f6a0d0..120b13c3c 100644 --- a/scripts/main.mk +++ b/scripts/main.mk @@ -95,7 +95,7 @@ Xcode/__project__: print-env $(SUBMODULES) config/$(HOST_SLUG).gypi #### Build individual targets ################################################## -NODE_PRE_GYP = $(shell cd platform/node && npm bin)/node-pre-gyp +NODE_PRE_GYP = $(shell cd platform/node > /dev/null && npm bin)/node-pre-gyp node/configure: cd platform/node && $(NODE_PRE_GYP) configure --clang -- \ $(GYP_FLAGS) -I../../config/$(HOST_SLUG).gypi \