diff options
author | basti <info@dynpages.de> | 2011-11-01 11:53:06 +0100 |
---|---|---|
committer | basti <info@dynpages.de> | 2011-11-01 11:53:06 +0100 |
commit | ea38e15e20bf97163bad043f4f3455f0e2217a4c (patch) | |
tree | 47efc63995a6ab0df9912357acc95d1912692d33 /build | |
parent | e31adf039b4adb07b8878435beceaae1a6532d47 (diff) | |
download | jquery-ui-ea38e15e20bf97163bad043f4f3455f0e2217a4c.tar.gz jquery-ui-ea38e15e20bf97163bad043f4f3455f0e2217a4c.zip |
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
Diffstat (limited to 'build')
-rw-r--r-- | build/build.xml | 2 | ||||
-rwxr-xr-x | build/build/minify-js.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/build/build.xml b/build/build.xml index 1e5ab842b..49568b3cc 100644 --- a/build/build.xml +++ b/build/build.xml @@ -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> 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 |