Merge pull request #109 from timoxley/node_path

Find node path using shell/which.
This commit is contained in:
Nathan Rajlich 2014-06-07 22:26:09 -07:00
commit bd0aa4707e

View File

@ -7,7 +7,7 @@ THIS_DIR:=$(shell cd $(dir $(THIS_MAKEFILE_PATH));pwd)
BIN := $(THIS_DIR)/node_modules/.bin
# applications
NODE ?= node
NODE ?= $(shell which node)
NPM ?= $(NODE) $(shell which npm)
BROWSERIFY ?= $(NODE) $(BIN)/browserify