From 02629f10479cba9b44d0f62acc2915261609afeb Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Sun, 6 Nov 2011 14:45:35 -0500 Subject: [PATCH] Eliminate spurious error message from `which`. Some versions of `which` (Cygwin's among them) spit out an error to stderr when not all their args are found. We only expect one of these to be found anyway. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77219e351..2bc41a070 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ BUILD_DIR = build PREFIX = . DIST_DIR = ${PREFIX}/dist -JS_ENGINE ?= `which node nodejs` +JS_ENGINE ?= `which node nodejs 2>/dev/null` COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe POST_COMPILER = ${JS_ENGINE} ${BUILD_DIR}/post-compile.js