build-scripts/updaterev.sh
changeset 4419 5e7e1f1a4056
parent 2982 b64c1d23039b
child 4936 e99358ca7a8d
--- 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