git » libfiu » commit b64dc43

tests: Use `/usr/bin/env bash` in all scripts

author HX Lin
2025-08-19 08:56:35 UTC
committer Alberto Bertogli
2025-09-06 21:51:48 UTC
parent e66c0473604c74a0e2ecaf571fbbca14e697669c

tests: Use `/usr/bin/env bash` in all scripts

Some scripts use `/bin/bash` while others use `/usr/bin/env bash`; this
patch unifies scripts on the latter, which is more portable.

https://github.com/albertito/libfiu/pull/9

Amended-by: Alberto Bertogli <albertito@blitiri.com.ar>
  Edited commit message.

tests/utils/test-basic_run.sh +1 -1
tests/utils/wrap +1 -1

diff --git a/tests/utils/test-basic_run.sh b/tests/utils/test-basic_run.sh
index 75e3075..9c41a03 100755
--- a/tests/utils/test-basic_run.sh
+++ b/tests/utils/test-basic_run.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 set -ex
 
diff --git a/tests/utils/wrap b/tests/utils/wrap
index 7c68979..c4d40b7 100755
--- a/tests/utils/wrap
+++ b/tests/utils/wrap
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Wrap the utilities (fiu-ctrl, fiu-ls, fiu-run) so that we can run them
 # easily from within the development tree, agains the locally-built libraries.