Permalink
Browse files

Changed node path from absolute to `which node`

  • Loading branch information...
1 parent 1d7aa76 commit 8c85c3dedbcf385932a8e016ef579bd4187673fb @gseguin gseguin committed Feb 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -21,7 +21,7 @@ THEME = default
# If node is available then use node to run r.js
# otherwise use good old rhino/java
-NODE = /usr/local/bin/node
+NODE = $(shell which node)
HAS_NODE = $(shell if test -x ${NODE} ;then echo true; fi)
ifeq ($(HAS_NODE), true)

0 comments on commit 8c85c3d

Please sign in to comment.