summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild-scripts/updaterev.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-scripts/updaterev.sh b/build-scripts/updaterev.sh
index 1ee11e0c..484fd431 100755
--- a/build-scripts/updaterev.sh
+++ b/build-scripts/updaterev.sh
@@ -7,7 +7,7 @@ srcdir=..
header=$srcdir/include/SDL_revision.h
rev=`sh showrev.sh`
-if [ "$rev" != "" ]; then
+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
rm $header.new