diff options
-rwxr-xr-x | linden/scripts/build_version.py | 2 |
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 |