* [PATCH] tests/runtestabidb?.sh.in: Use bash shebang
@ 2024-04-19 2:23 Sam James
0 siblings, 0 replies; only message in thread
From: Sam James @ 2024-04-19 2:23 UTC (permalink / raw)
To: libabigail; +Cc: Sam James
'function x() { ... }' is a bashism, but /bin/sh may be another shell,
like dash. Just use an explicit /bin/bash shebang as the file relies on
a few other bashisms like 'type'.
* tests/runtestabidb[1-2].sh.in: Use bash shebang.
Signed-off-by: Sam James <sam@gentoo.org>
---
tests/runtestabidb1.sh.in | 2 +-
tests/runtestabidb2.sh.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/runtestabidb1.sh.in b/tests/runtestabidb1.sh.in
index 9a0dc059..580e91f9 100755
--- a/tests/runtestabidb1.sh.in
+++ b/tests/runtestabidb1.sh.in
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
# Run an abidb test based on the binaries right here
diff --git a/tests/runtestabidb2.sh.in b/tests/runtestabidb2.sh.in
index f2ce7adf..5029ebdc 100755
--- a/tests/runtestabidb2.sh.in
+++ b/tests/runtestabidb2.sh.in
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
# Run an abidb test based on the binaries right here
--
2.44.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-04-19 2:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 2:23 [PATCH] tests/runtestabidb?.sh.in: Use bash shebang Sam James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).