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

Corey Farrell asteriskteam at digium.com
Thu Apr 26 09:24:46 CDT 2018


Corey Farrell has uploaded this change for review. ( https://gerrit.asterisk.org/8871


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(-)



  git pull ssh://gerrit.asterisk.org:29418/testsuite refs/changes/71/8871/1

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/8871
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-Project: testsuite
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I767c58e36313ad734da0dc8adb5118e17b8e4075
Gerrit-Change-Number: 8871
Gerrit-PatchSet: 1
Gerrit-Owner: Corey Farrell <git at cfware.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180426/78151dd5/attachment.html>


More information about the asterisk-code-review mailing list