summaryrefslogtreecommitdiff
path: root/indra/newview/viewer_manifest.py
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2017-12-06 05:17:14 -0500
committerNat Goodspeed <nat@lindenlab.com>2017-12-06 05:17:14 -0500
commit6bba46effa13549988031d58ea8c4c60a97cfe3b (patch)
tree8c37e1ae16845834b157565b0f56dca33aa1562d /indra/newview/viewer_manifest.py
parent54eb04ee901611666ce5016eec2cc8ae9efde50e (diff)
MAINT-7751: Add shbang line to macOS trampoline script.
This evidently makes all the difference as to whether the app is considered launchable.
Diffstat (limited to 'indra/newview/viewer_manifest.py')
-rwxr-xr-xindra/newview/viewer_manifest.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index cb5503eee0..5456c264d3 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -906,8 +906,10 @@ class DarwinManifest(ViewerManifest):
# our nested launcher_app
with self.prefix(dst="MacOS"):
toplevel_MacOS = self.get_dst_prefix()
- trampoline = self.put_in_file(
- 'open "%s"\n' %
+ trampoline = self.put_in_file("""\
+#!/bin/bash
+open "%s"
+""" %
# up one directory from MacOS to its sibling Resources directory
os.path.join('$(dirname "$0")', os.pardir, 'Resources', launcher_app),
"SL_Launcher", # write this file