rendered paste bodyIndex: macosx/version.sh
===================================================================
--- macosx/version.sh (revision 3699)
+++ macosx/version.sh (working copy)
@@ -9,10 +9,7 @@
USERAGENT_PREFIX="0.91+"
-SVN_REVISION=`find ./ -name "*\.[ch]" -o -name "*\.cpp" -o -name "*\.po" | \
- xargs grep "\$Id:" | \
- grep -v third-party | \
- cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
+SVN_REVISION=`svn info | awk '/Revision:/{print $2}'`
if test "x${PEERID_PREFIX//Z/}" = "x$PEERID_PREFIX";
then