mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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.
This commit is contained in:
parent
8380e12ab4
commit
02629f1047
2
Makefile
2
Makefile
@ -5,7 +5,7 @@ BUILD_DIR = build
|
|||||||
PREFIX = .
|
PREFIX = .
|
||||||
DIST_DIR = ${PREFIX}/dist
|
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
|
COMPILER = ${JS_ENGINE} ${BUILD_DIR}/uglify.js --unsafe
|
||||||
POST_COMPILER = ${JS_ENGINE} ${BUILD_DIR}/post-compile.js
|
POST_COMPILER = ${JS_ENGINE} ${BUILD_DIR}/post-compile.js
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user