]> git.ipfire.org Git - thirdparty/gcc.git/commit
contrib: Improve dg-extract-results.sh's Python detection [PR109668]
authorSam James <sam@gentoo.org>
Fri, 8 Mar 2024 14:24:20 +0000 (15:24 +0100)
committerJakub Jelinek <jakub@redhat.com>
Fri, 15 Mar 2024 23:28:39 +0000 (00:28 +0100)
commit8c4785e77e8b54109fbb4f81a3b624e98184c2aa
tree65aa270df52d9357a0da743d880dd26622befe33
parent6b69cbe2c85f0b8f4a5a6b23e257d69275bea182
contrib: Improve dg-extract-results.sh's Python detection [PR109668]

'python' on some systems (e.g. SLES 15) might be Python 2. Prefer python3,
then python, then python2 (as the script still tries to work there).

PR other/109668
* dg-extract-results.sh: Check for python3 before python. Check for
python2 last.

(cherry picked from commit 64273a7e6bd8ba60058174d147521dd65d705637)
contrib/dg-extract-results.sh