Merge pull request #511 from basti1253/master

build: removes disturbing error outputs on which call(cherry picked from commit d764388a65)
This commit is contained in:
Richard D. Worth 2011-11-17 12:51:21 -08:00
parent e9002c4c8f
commit 30446f9340
2 changed files with 2 additions and 2 deletions

View File

@ -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>

View File

@ -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