Permalink
Browse files

Update Makefile to use either nodejs or node, whichever exists (Debia…

…n uses nodejs).
  • Loading branch information...
csnover committed Jan 18, 2011
1 parent 35aeac1 commit 9ae837a167f68136cb8df70f6c40b0e54c07bc01
Showing with 1 addition and 1 deletion.
  1. +1 −1 Makefile
View
@@ -7,7 +7,7 @@ BUILD_DIR = build
PREFIX = .
DIST_DIR = ${PREFIX}/dist
-JS_ENGINE ?= node
+JS_ENGINE ?= `which nodejs node`
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
BASE_FILES = ${SRC_DIR}/core.js\

0 comments on commit 9ae837a

Please sign in to comment.