From ea38e15e20bf97163bad043f4f3455f0e2217a4c Mon Sep 17 00:00:00 2001 From: basti Date: Tue, 1 Nov 2011 11:53:06 +0100 Subject: [PATCH] build: removes disturbing error outputs on which call By calling `which node nodejs` which reports an error even if there's an existing nodejs installation in $PATH. It silently ignores that non existing issue now. Before: http://imagebin.org/181889 After: http://imagebin.org/181890 --- build/build.xml | 2 +- build/build/minify-js.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.xml b/build/build.xml index 1e5ab842b92..49568b3ccbb 100644 --- a/build/build.xml +++ b/build/build.xml @@ -320,7 +320,7 @@ - + diff --git a/build/build/minify-js.sh b/build/build/minify-js.sh index c94853fa23d..2633a2f57f7 100755 --- a/build/build/minify-js.sh +++ b/build/build/minify-js.sh @@ -1,3 +1,3 @@ #!/bin/bash dir=$(dirname $0) -`which node nodejs` $dir/uglify.js $1 > $2 +`which node nodejs 2> /dev/null` $dir/uglify.js $1 > $2