BryanDavis has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/325436

Change subject: webservice: Fix #!...
......................................................................

webservice: Fix #!...

Follow up to 9be6390 that fixes the #!... command to only have two
parts: the interpreter and an single argument. Linux is silly and parses
by splitting on the first whitespace when execing the interpreter.
Without this change, python sees a single `-E -s` argument.

Bug: T147350
Change-Id: Ibfd7cce9fe3f892de92324e6b72b0fbbde3407d9
---
M scripts/webservice
M scripts/webservice-runner
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/operations/software/tools-webservice 
refs/changes/36/325436/1

diff --git a/scripts/webservice b/scripts/webservice
index 51a67e6..b7c2f05 100755
--- a/scripts/webservice
+++ b/scripts/webservice
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E -s
+#!/usr/bin/python -Es
 from __future__ import print_function
 import argparse
 import sys
diff --git a/scripts/webservice-runner b/scripts/webservice-runner
index 62282ef..863164c 100755
--- a/scripts/webservice-runner
+++ b/scripts/webservice-runner
@@ -1,4 +1,4 @@
-#!/usr/bin/python -E -s
+#!/usr/bin/python -Es
 import argparse
 
 from toollabs.common import Tool

-- 
To view, visit https://gerrit.wikimedia.org/r/325436
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ibfd7cce9fe3f892de92324e6b72b0fbbde3407d9
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/tools-webservice
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to