Fix NODE_PRE_GYP variable

`cd` outputs the resulting directory, which is not what is desired 
here.
This commit is contained in:
John Firebaugh
2015-08-31 15:42:04 -07:00
parent 5a8be45497
commit 42efc9a21a

View File

@@ -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 \