]> source.dussan.org Git - jquery-ui.git/commitdiff
Merge pull request #511 from basti1253/master
authorRichard D. Worth <rdworth@gmail.com>
Thu, 17 Nov 2011 20:51:21 +0000 (12:51 -0800)
committerRichard D. Worth <rdworth@gmail.com>
Thu, 17 Nov 2011 21:09:50 +0000 (16:09 -0500)
build: removes disturbing error outputs on which call(cherry picked from commit d764388a65c5d56be7443f1de52e92876d009430)

build/build.xml
build/build/minify-js.sh

index aef5e5fb314c98f5638313fc1d3bf455081f5965..fec10a1a74e408b9067491ddb7be97c139794611 100644 (file)
                <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>
index c94853fa23d8b58305749a25a03889449713005f..2633a2f57f705182529513bbf5f6912314216fc5 100755 (executable)
@@ -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