aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-09-23 00:19:09 +0100
committerSam James <sam@gentoo.org>2022-09-23 00:45:43 +0100
commitba452333dca237866e793ec40d0f387aefa917a3 (patch)
treea752098adee3fe079fcf5c50ac2cb47d4cc6b805
parentgcc-config: add comment explaining SELinux-related writable check (diff)
downloadgcc-config-ba452333dca237866e793ec40d0f387aefa917a3.tar.gz
gcc-config-ba452333dca237866e793ec40d0f387aefa917a3.tar.bz2
gcc-config-ba452333dca237866e793ec40d0f387aefa917a3.zip
*/*: use portable Bash shebang
Useful for Prefix in particular. Signed-off-by: Sam James <sam@gentoo.org>
-rwxr-xr-xgcc-config4
-rwxr-xr-xtests/run_tests2
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