diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2010-02-28 02:07:40 -0500 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2010-02-28 02:07:40 -0500 |
commit | f6c2cefa3398744c0ccdf6bc293f9d0481c3c547 (patch) | |
tree | d6f575a7fcc6ae7eb1018dc01b4cc7ba653efe63 /build-scripts/updaterev.sh | |
parent | 7ccbf370b741eadb356f9f4137bdcef37cb7aeef (diff) | |
download | sdl-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-x | build-scripts/updaterev.sh | 2 |
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 |