[gexiv2/wip/lantw/use-sh-and-respect-env-var: 2/3] test: Use sh instead of hard-coding the path of bash
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gexiv2/wip/lantw/use-sh-and-respect-env-var: 2/3] test: Use sh instead of hard-coding the path of bash
- Date: Tue, 9 Jul 2019 07:17:43 +0000 (UTC)
commit f5f4dec43e7d193572fd940e1587aee7be79405e
Author: Ting-Wei Lan <lantw src gnome org>
Date: Tue Jul 9 00:21:17 2019 +0800
test: Use sh instead of hard-coding the path of bash
Bash isn't always installed in /bin. Since these two scripts don't use
any features which are specific to bash, we can switch them to /bin/sh.
test/python2-test.in | 2 +-
test/python3-test.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/python2-test.in b/test/python2-test.in
index dc45cfd..e82d2fd 100755
--- a/test/python2-test.in
+++ b/test/python2-test.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
@PYTHON2_PATH@ -m unittest gexiv2
@PYTHON2_PATH@ -m unittest test_metadata
diff --git a/test/python3-test.in b/test/python3-test.in
index eb2f28d..7766a2d 100755
--- a/test/python3-test.in
+++ b/test/python3-test.in
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
@PYTHON3_PATH@ -m unittest gexiv2
@PYTHON3_PATH@ -m unittest test_metadata
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]