Changeset 7206
- Timestamp:
- Nov 30, 2008, 5:46:19 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/version.sh
r7094 r7206 8 8 # "0" for stable, supported releases 9 9 # these should be the only two lines you need to change 10 PEERID_PREFIX="-TR140 Z-"11 USERAGENT_PREFIX="1.40 +"10 PEERID_PREFIX="-TR1400-" 11 USERAGENT_PREFIX="1.40" 12 12 13 SVN_REVISION=`find ./ macosx ./libtransmission -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\.po" -o -name "*\.sh" | \13 SVN_REVISION=`find ./libtransmission -name "*\.[chmp]" -o -name "*\.cpp" -o -name "*\.po" -o -name "*\.sh" | \ 14 14 xargs grep "\$Id:" | \ 15 15 grep -v third-party | \ 16 16 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 19 SVN_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 24 if SVN_REVISION_MAC > SVN_REVISION; then 25 SVN_REVISION = SVN_REVISION_MAC 26 fi 17 27 18 28 # Generate files to be included: only overwrite them if changed so make
Note: See TracChangeset
for help on using the changeset viewer.