From c565c62745ec37484118888f8f45dbde34d42e46 Mon Sep 17 00:00:00 2001
From: Nat Goodspeed <nat@lindenlab.com>
Date: Thu, 7 Dec 2017 16:43:04 -0500
Subject: [PATCH] MAINT-8069: Pass any command-line arguments through to
 SL_Launcher.

---
 indra/newview/viewer_manifest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 9fc113ff72c..f930e8b2ce2 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -906,7 +906,7 @@ def construct(self):
                 toplevel_MacOS = self.get_dst_prefix()
                 trampoline = self.put_in_file("""\
 #!/bin/bash
-open "%s"
+open "%s" --args "$@"
 """ %
                     # up one directory from MacOS to its sibling Resources directory
                     os.path.join('$(dirname "$0")', os.pardir, 'Resources', launcher_app),
-- 
GitLab