Merge pull request #511 from basti1253/master

build: removes disturbing error outputs on which call
This commit is contained in:
Richard D. Worth 2011-11-17 12:51:21 -08:00
commit d764388a65
2 changed files with 2 additions and 2 deletions

View File

@ -320,7 +320,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