Changeset 7206


Ignore:
Timestamp:
Nov 30, 2008, 5:46:19 PM (13 years ago)
Author:
livings124
Message:

trunk: dirty fix to ensure the right svn number is grabbed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/version.sh

    r7094 r7206  
    88#         "0" for stable, supported releases
    99# these should be the only two lines you need to change
    10 PEERID_PREFIX="-TR140Z-"
    11 USERAGENT_PREFIX="1.40+"
     10PEERID_PREFIX="-TR1400-"
     11USERAGENT_PREFIX="1.40"
    1212
    13 SVN_REVISION=`find ./macosx ./libtransmission -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\.po" -o -name "*\.sh" | \
     13SVN_REVISION=`find ./libtransmission -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\.po" -o -name "*\.sh" | \
    1414              xargs grep "\$Id:" | \
    1515              grep -v third-party | \
    1616              cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
     17
     18#dirty fix to ensure the highest version number is found when running release_builder.sh
     19SVN_REVISION_MAC=`find ./macosx -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\.po" -o -name "*\.sh" | \
     20              xargs grep "\$Id:" | \
     21              grep -v third-party | \
     22              cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
     23
     24if SVN_REVISION_MAC > SVN_REVISION; then
     25        SVN_REVISION = SVN_REVISION_MAC
     26fi
    1727 
    1828# Generate files to be included: only overwrite them if changed so make
Note: See TracChangeset for help on using the changeset viewer.