build-scripts/updaterev.sh
changeset 5345 0202f62906ca
parent 5310 a9945ce48999
child 5359 d5fe4ed3a28d
--- a/build-scripts/updaterev.sh	Fri Feb 18 09:30:09 2011 -0800
+++ b/build-scripts/updaterev.sh	Fri Feb 18 11:19:34 2011 -0800
@@ -7,7 +7,7 @@
 srcdir=..
 header=$outdir/include/SDL_revision.h
 
-rev=`sh showrev.sh`
+rev=`sh showrev.sh 2>/dev/null`
 if [ "$rev" != "" -a "$rev" != "hg-0:baadf00d" ]; then
     echo "#define SDL_REVISION \"$rev\"" >$header.new
     if diff $header $header.new >/dev/null 2>&1; then