From 2870cc4c929dc05c5bec9ac2a1b8275c3694e8c3 Mon Sep 17 00:00:00 2001 From: Chuck Atkins Date: Tue, 16 Feb 2021 13:49:05 -0500 Subject: Add RHEL8 Universal Base Image with platform-python to CI unit tests (#21655) --- share/spack/setup-env.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish index 190934531d..d95b08ea9f 100755 --- a/share/spack/setup-env.fish +++ b/share/spack/setup-env.fish @@ -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 -- cgit v1.2.3-60-g2f50