Mercurial > sdl-ios-xcode
diff build-scripts/showrev.sh @ 3280:00cace2d9080
Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 19 Sep 2009 13:29:40 +0000 |
parents | 4c092987234b |
children | 5e7e1f1a4056 |
line wrap: on
line diff
--- a/build-scripts/showrev.sh Sat Sep 19 12:48:52 2009 +0000 +++ b/build-scripts/showrev.sh Sat Sep 19 13:29:40 2009 +0000 @@ -9,4 +9,7 @@ (svnversion -c 2>/dev/null || svnversion .) | \ sed -e 's,\([0-9]*\)[A-Z]*,\1,' \ -e 's,[0-9]*:\([0-9]*\)[A-Z]*,\1,' +else + cd $srcdir + git svn info | grep Revision | awk '{ print $2 }' fi