From: Mitchell Livingston Date: Sun, 30 Nov 2008 19:19:30 +0000 (+0000) Subject: (trunk) update version.sh again X-Git-Tag: 1.60~891 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1dde7e9557c5d52a99ebaa4b0929c4b9b02d746d;p=transmission (trunk) update version.sh again --- diff --git a/macosx/version.sh b/macosx/version.sh index 53ed7f96b..041744ac8 100755 --- a/macosx/version.sh +++ b/macosx/version.sh @@ -21,8 +21,9 @@ SVN_REVISION_MAC=`find ./macosx -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\ grep -v third-party | \ cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1` -if SVN_REVISION_MAC > SVN_REVISION; then - SVN_REVISION = SVN_REVISION_MAC +if [ $SVN_REVISION_MAC -gt $SVN_REVISION ] +then + SVN_REVISION=$SVN_REVISION_MAC fi # Generate files to be included: only overwrite them if changed so make