Add RHEL8 Universal Base Image with platform-python to CI unit tests (#21655)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user