]> granicus.if.org Git - transmission/commitdiff
(trunk) update version.sh again
authorMitchell Livingston <livings124@transmissionbt.com>
Sun, 30 Nov 2008 19:19:30 +0000 (19:19 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Sun, 30 Nov 2008 19:19:30 +0000 (19:19 +0000)
macosx/version.sh

index 53ed7f96b1a9ab62bfc633b8dc18525562c7c566..041744ac8f99bfc590ef99c438f4b7121747d213 100755 (executable)
@@ -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