commit:     ba452333dca237866e793ec40d0f387aefa917a3
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 23:19:09 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 23:45:43 2022 +0000
URL:        https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=ba452333

*/*: use portable Bash shebang

Useful for Prefix in particular.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 gcc-config      | 4 ++--
 tests/run_tests | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/gcc-config b/gcc-config
index eff9cca..65a7ceb 100755
--- a/gcc-config
+++ b/gcc-config
@@ -1,5 +1,5 @@
-#!/bin/bash
-# Copyright 2002-2021 Gentoo Authors
+#!/usr/bin/env bash
+# Copyright 2002-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Format of /etc/env.d/gcc/ contents:

diff --git a/tests/run_tests b/tests/run_tests
index 19fbe7b..602aa92 100755
--- a/tests/run_tests
+++ b/tests/run_tests
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 # Avoid bash localization of error messages
 export LC_ALL=C

Reply via email to