summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2019-11-01 10:48:38 -0400
committerNat Goodspeed <nat@lindenlab.com>2020-03-25 19:06:12 -0400
commit5918620426fd81944e6d3eb2a866d2104ad4ae69 (patch)
tree62ec4c82701bff8f226e6816348361f7b18bf32e
parentb08c44a0dc701f35f96b7700f56cf7000c254fe3 (diff)
DRTVWR-476: Make viewer_manifest.py report its own command line.
That way, if there's a problem, a developer can rerun the same command.
-rwxr-xr-xindra/newview/viewer_manifest.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py
index 57099f8ac9..2b412d01b7 100755
--- a/indra/newview/viewer_manifest.py
+++ b/indra/newview/viewer_manifest.py
@@ -1548,6 +1548,11 @@ class Linux_x86_64_Manifest(LinuxManifest):
################################################################
if __name__ == "__main__":
+ # Report our own command line so that, in case of trouble, a developer can
+ # manually rerun the same command.
+ print('%s \\\n%s' %
+ (sys.executable,
+ ' '.join((("'%s'" % arg) if ' ' in arg else arg) for arg in sys.argv)))
extra_arguments = [
dict(name='bugsplat', description="""BugSplat database to which to post crashes,
if BugSplat crash reporting is desired""", default=''),