Add RHEL8 Universal Base Image with platform-python to CI unit tests (#21655)

This commit is contained in:
Chuck Atkins
2021-02-16 13:49:05 -05:00
committed by GitHub
parent c8406bd303
commit 2870cc4c92
2 changed files with 28 additions and 1 deletions

View File

@@ -671,7 +671,7 @@ set -l sp_source_file (status -f) # name of current file
# Identify and lock the python interpreter
#
for cmd in "$SPACK_PYTHON" python3 python python2
set -l _sp_python (command -s "$cmd")
set -l _sp_python (command -v "$cmd")
if test $status -eq 0
set -x SPACK_PYTHON $_sp_python
break