From c355cd633a5b9bc70fbbc8ee2e047bf4df6ffab3 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sun, 2 Nov 2008 23:36:52 -0600 Subject: Script finds Imprudence version numbers for packaging. --- linden/indra/lib/python/indra/util/llversion.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'linden/indra') diff --git a/linden/indra/lib/python/indra/util/llversion.py b/linden/indra/lib/python/indra/util/llversion.py index cf4f3c6..666cce4 100644 --- a/linden/indra/lib/python/indra/util/llversion.py +++ b/linden/indra/lib/python/indra/util/llversion.py @@ -45,15 +45,12 @@ def get_version_file_contents(version_type): def get_version(version_type): file_str = get_version_file_contents(version_type) - m = re.search('const S32 LL_VERSION_MAJOR = (\d+);', file_str) + m = re.search('const S32 IMP_VERSION_MAJOR = (\d+);', file_str) VER_MAJOR = m.group(1) - m = re.search('const S32 LL_VERSION_MINOR = (\d+);', file_str) + m = re.search('const S32 IMP_VERSION_MINOR = (\d+);', file_str) VER_MINOR = m.group(1) - m = re.search('const S32 LL_VERSION_PATCH = (\d+);', file_str) - VER_PATCH = m.group(1) - m = re.search('const S32 LL_VERSION_BUILD = (\d+);', file_str) - VER_BUILD = m.group(1) - version = "%(VER_MAJOR)s.%(VER_MINOR)s.%(VER_PATCH)s.%(VER_BUILD)s" % locals() + m = re.search('const S32 IMP_VERSION_PATCH = (\d+);', file_str) + version = "%(VER_MAJOR)s.%(VER_MINOR)s.%(VER_PATCH)s" % locals() return version def get_channel(version_type): -- cgit v1.1