summaryrefslogtreecommitdiff
path: root/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-02-28 13:45:49 -0500
committerOz Linden <oz@lindenlab.com>2013-02-28 13:45:49 -0500
commit65e4ea3e28446585e8a36db9b06edb457b3de7f4 (patch)
tree42a8d96e3c78eabf5e86b751498a9c36598e7f92 /indra/newview/viewer_manifest.py
parentf3f495330c50682e24399319353a10f9468b4ee8 (diff)
correct icon and app name recognition by channel
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rw-r--r--indra/newview/viewer_manifest.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 63db76ff90..b3c0e650ec 100644
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -176,18 +176,19 @@ class ViewerManifest(LLManifest):
channel_type=self.channel_lowerword()
if channel_type == 'release' :
app_suffix='Viewer'
- elif re.match('(beta|project) .*',channel_type) :
+ elif re.match('^(beta|project).*',channel_type) :
app_suffix=self.channel_unique()
return "Second Life "+app_suffix
def icon_path(self):
icon_path="icons/"
channel_type=self.channel_lowerword()
+ print "Icon channel type '%s'" % channel_type
if channel_type == 'release' :
icon_path += channel_type
- elif re.match('beta .*',channel_type) :
+ elif re.match('^beta.*',channel_type) :
icon_path += 'beta'
- elif re.match('project .*',channel_type) :
+ elif re.match('^project.*',channel_type) :
icon_path += 'project'
else :
icon_path += 'test'
@@ -245,7 +246,7 @@ class WindowsManifest(ViewerManifest):
channel_type=self.channel_lowerword()
if channel_type == 'release' :
app_suffix=''
- elif re.match('(beta|project) .*',channel_type) :
+ elif re.match('^(beta|project).*',channel_type) :
app_suffix=''.join(self.channel_unique().split())
return "SecondLife"+app_suffix+".exe"