aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/build.xml2
-rwxr-xr-xbuild/build/minify-js.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/build.xml b/build/build.xml
index aef5e5fb3..fec10a1a7 100644
--- a/build/build.xml
+++ b/build/build.xml
@@ -313,7 +313,7 @@
<echo message="Comparing file size with previous build" />
<exec executable="bash">
<arg value="-c" />
- <arg value="wc -c ${size.dir}/* | `which node nodejs` build/sizer.js" />
+ <arg value="wc -c ${size.dir}/* | `which node nodejs 2>/dev/null` build/sizer.js" />
</exec>
<delete dir="${size.dir}" />
</target>
diff --git a/build/build/minify-js.sh b/build/build/minify-js.sh
index c94853fa2..2633a2f57 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