summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorChuck Atkins <chuck.atkins@kitware.com>2021-02-16 13:49:05 -0500
committerGitHub <noreply@github.com>2021-02-16 13:49:05 -0500
commit2870cc4c929dc05c5bec9ac2a1b8275c3694e8c3 (patch)
tree8c85e75a3fab095a47f2c1576ff693801c6f4377 /share
parentc8406bd303f4cd1f16f1c1d8ea194af32f5c928d (diff)
downloadspack-2870cc4c929dc05c5bec9ac2a1b8275c3694e8c3.tar.gz
spack-2870cc4c929dc05c5bec9ac2a1b8275c3694e8c3.tar.bz2
spack-2870cc4c929dc05c5bec9ac2a1b8275c3694e8c3.tar.xz
spack-2870cc4c929dc05c5bec9ac2a1b8275c3694e8c3.zip
Add RHEL8 Universal Base Image with platform-python to CI unit tests (#21655)
Diffstat (limited to 'share')
-rwxr-xr-xshare/spack/setup-env.fish2
1 files changed, 1 insertions, 1 deletions
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