summaryrefslogtreecommitdiff
path: root/build-scripts/updaterev.sh
diff options
context:
space:
mode:
authorRyan C. Gordon <icculus@icculus.org>2010-02-28 02:07:40 -0500
committerRyan C. Gordon <icculus@icculus.org>2010-02-28 02:07:40 -0500
commitf6c2cefa3398744c0ccdf6bc293f9d0481c3c547 (patch)
treed6f575a7fcc6ae7eb1018dc01b4cc7ba653efe63 /build-scripts/updaterev.sh
parent7ccbf370b741eadb356f9f4137bdcef37cb7aeef (diff)
downloadsdl-f6c2cefa3398744c0ccdf6bc293f9d0481c3c547.tar.gz
Changed revision details to be a string (an hg changeset) instead of an int.
Diffstat (limited to 'build-scripts/updaterev.sh')
-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 15ffb9574..1ee11e0c0 100755
--- a/build-scripts/updaterev.sh
+++ b/build-scripts/updaterev.sh
@@ -8,7 +8,7 @@ header=$srcdir/include/SDL_revision.h
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