[Asterisk-code-review] self test: Use env for shebang (testsuite[15.4])

George Joseph asteriskteam at digium.com
Fri May 11 09:01:04 CDT 2018


George Joseph has submitted this change and it was merged. ( https://gerrit.asterisk.org/8965 )

Change subject: self_test: Use env for shebang
......................................................................

self_test: Use env for shebang

Change-Id: I767c58e36313ad734da0dc8adb5118e17b8e4075
---
M self_test
1 file changed, 2 insertions(+), 1 deletion(-)

Approvals:
  Jenkins2: Verified
  George Joseph: Looks good to me, approved; Approved for Submit



diff --git a/self_test b/self_test
index 240bfcb..02d8e21 100755
--- a/self_test
+++ b/self_test
@@ -1,4 +1,5 @@
-#!/usr/bin/sh -e
+#!/usr/bin/env sh
+set -e
 
 PYTHON=""
 PYTHON2=$(which python2 2>/dev/null || true)

-- 
To view, visit https://gerrit.asterisk.org/8965
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 15.4
Gerrit-MessageType: merged
Gerrit-Change-Id: I767c58e36313ad734da0dc8adb5118e17b8e4075
Gerrit-Change-Number: 8965
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180511/a1024daa/attachment-0001.html>


More information about the asterisk-code-review mailing list