git » libjio » commit a894011

Use /usr/bin/env bash instead of /bin/bash

author Alberto Bertogli
2011-02-26 14:18:51 UTC
committer Alberto Bertogli
2011-02-26 14:18:51 UTC
parent aa934d0c45bd564ea8a9580793d616a24f700f5e

Use /usr/bin/env bash instead of /bin/bash

Not every system has /bin/bash, use /usr/bin/env bash which is more portable.

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

tests/util/build_lib_env.sh +1 -1
tests/util/quick-test-run.sh +1 -1
tests/util/wrap-python +1 -1

diff --git a/tests/util/build_lib_env.sh b/tests/util/build_lib_env.sh
index f3f3234..ffa870c 100755
--- a/tests/util/build_lib_env.sh
+++ b/tests/util/build_lib_env.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Apply the environment changes needed to use the built (and not the
 # installed) versions of the library and Python bindings.
diff --git a/tests/util/quick-test-run.sh b/tests/util/quick-test-run.sh
index 54aa4af..9f7ffd0 100755
--- a/tests/util/quick-test-run.sh
+++ b/tests/util/quick-test-run.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # This is a convenience script for running some of the other tests without
 # manual intervention, as a means of a fast and easy correctness test.
diff --git a/tests/util/wrap-python b/tests/util/wrap-python
index bd75575..e478bc8 100755
--- a/tests/util/wrap-python
+++ b/tests/util/wrap-python
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Python 2 wrapper, which makes it able to import the build (and not the
 # installed) version of libjio.