aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJacek Antonelli2010-05-22 14:55:21 -0700
committerJacek Antonelli2010-06-19 02:42:47 -0500
commitd9e09757137199c2beb509bfe55a6efd12b8b3c1 (patch)
tree28f3b04a6c4e2495e273bd8b3295c9504f33d78b
parentFixed the login screen sometimes stuck on 'Connecting to Region...' while log... (diff)
downloadmeta-impy-d9e09757137199c2beb509bfe55a6efd12b8b3c1.zip
meta-impy-d9e09757137199c2beb509bfe55a6efd12b8b3c1.tar.gz
meta-impy-d9e09757137199c2beb509bfe55a6efd12b8b3c1.tar.bz2
meta-impy-d9e09757137199c2beb509bfe55a6efd12b8b3c1.tar.xz
Replace some puncuation and spaces with '-' in the test version
-rwxr-xr-xlinden/scripts/build_version.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/scripts/build_version.py b/linden/scripts/build_version.py
index 9746b7c..f6b88a9 100755
--- a/linden/scripts/build_version.py
+++ b/linden/scripts/build_version.py
@@ -32,6 +32,8 @@ def get_version(filename):
32 version = "%(major)s.%(minor)s.%(patch)s" % vals 32 version = "%(major)s.%(minor)s.%(patch)s" % vals
33 33
34 if len(vals['test']) > 0: 34 if len(vals['test']) > 0:
35 # Replace some puncuation and spaces with '-' in the test version
36 vals['test'] = re.sub('[ \t:;,+/\\"\'`]+', '-', vals['test'])
35 version += "-%(test)s" % vals 37 version += "-%(test)s" % vals
36 38
37 return version 39 return version