Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-config:master commit in: tests/, /
Date: Thu, 22 Sep 2022 23:46:22
Message-Id: 1663890343.ba452333dca237866e793ec40d0f387aefa917a3.sam@gentoo
1 commit: ba452333dca237866e793ec40d0f387aefa917a3
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 22 23:19:09 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 22 23:45:43 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=ba452333
7
8 */*: use portable Bash shebang
9
10 Useful for Prefix in particular.
11
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 gcc-config | 4 ++--
15 tests/run_tests | 2 +-
16 2 files changed, 3 insertions(+), 3 deletions(-)
17
18 diff --git a/gcc-config b/gcc-config
19 index eff9cca..65a7ceb 100755
20 --- a/gcc-config
21 +++ b/gcc-config
22 @@ -1,5 +1,5 @@
23 -#!/bin/bash
24 -# Copyright 2002-2021 Gentoo Authors
25 +#!/usr/bin/env bash
26 +# Copyright 2002-2022 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 # Format of /etc/env.d/gcc/ contents:
30
31 diff --git a/tests/run_tests b/tests/run_tests
32 index 19fbe7b..602aa92 100755
33 --- a/tests/run_tests
34 +++ b/tests/run_tests
35 @@ -1,4 +1,4 @@
36 -#!/bin/bash
37 +#!/usr/bin/env bash
38
39 # Avoid bash localization of error messages
40 export LC_ALL=C