Ignore:
Timestamp:
Nov 30, 2008, 7:19:48 PM (12 years ago)
Author:
livings124
Message:

(1.4x) update version.sh again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4x/macosx/version.sh

    r7205 r7209  
    1616              cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
    1717
    18 #dirty fix to ensure the highest version number is found
     18#dirty fix to ensure the highest version number is found when running release_builder.sh
    1919SVN_REVISION_MAC=`find ./macosx -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\.po" -o -name "*\.sh" | \
    2020              xargs grep "\$Id:" | \
     
    2222              cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
    2323
    24 if SVN_REVISION_MAC > SVN_REVISION; then
    25         SVN_REVISION = SVN_REVISION_MAC
     24if [ $SVN_REVISION_MAC -gt $SVN_REVISION ]
     25then
     26        SVN_REVISION=$SVN_REVISION_MAC
    2627fi
    2728 
Note: See TracChangeset for help on using the changeset viewer.