mirror the version.sh change in trunk
This commit is contained in:
parent
9f9901b3fa
commit
b708c2f0cb
|
@ -2,8 +2,10 @@
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
|
|
||||||
# convention: -TR MAJOR MINOR MAINT BETA - (each a single char)
|
# convention: -TR MAJOR MINOR MAINT STATUS - (each a single char)
|
||||||
# BETA: "Z" for beta, "0" for stable
|
# STATUS: "X" for prerelease test builds,
|
||||||
|
# "Z" for unsupported trunk builds,
|
||||||
|
# "0" for stable, supported releases
|
||||||
# these should be the only two lines you need to change
|
# these should be the only two lines you need to change
|
||||||
PEERID_PREFIX="-TR093Z-"
|
PEERID_PREFIX="-TR093Z-"
|
||||||
USERAGENT_PREFIX="0.93+"
|
USERAGENT_PREFIX="0.93+"
|
||||||
|
@ -14,7 +16,7 @@ SVN_REVISION=`find ./ -name "*\.[ch]" -o -name "*\.cpp" -o -name "*\.po" | \
|
||||||
grep -v third-party | \
|
grep -v third-party | \
|
||||||
cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
|
cut -d"$Id:" -f3 | cut -d" " -f3 | sort -n | tail -n 1`
|
||||||
|
|
||||||
if test "x${PEERID_PREFIX//Z/}" = "x$PEERID_PREFIX";
|
if [[ "x${PEERID_PREFIX//0-/}" != "x$PEERID_PREFIX" ]]
|
||||||
then
|
then
|
||||||
STABLE_RELEASE=yes
|
STABLE_RELEASE=yes
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue