diff options
Diffstat (limited to 'share')
-rwxr-xr-x | share/spack/setup-env.fish | 2 |
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 |