diff build-scripts/updaterev.sh @ 4419:5e7e1f1a4056

Changed revision details to be a string (an hg changeset) instead of an int.
author Ryan C. Gordon <icculus@icculus.org>
date Sun, 28 Feb 2010 02:07:40 -0500
parents b64c1d23039b
children e99358ca7a8d
line wrap: on
line diff
--- a/build-scripts/updaterev.sh	Sun Feb 28 02:06:47 2010 -0500
+++ b/build-scripts/updaterev.sh	Sun Feb 28 02:07:40 2010 -0500
@@ -8,7 +8,7 @@
 
 rev=`sh showrev.sh`
 if [ "$rev" != "" ]; then
-    echo "#define SDL_REVISION $rev" >$header.new
+    echo "#define SDL_REVISION \"$rev\"" >$header.new
     if diff $header $header.new >/dev/null 2>&1; then
         rm $header.new
     else