diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2024-06-15 08:11:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 08:11:19 -0700 |
commit | 2d464f8c8903ce57cabe411bbe979583d4ccdb5d (patch) | |
tree | 3b0f197696db93459685b786c04105354a486e98 /bin/spack-python | |
parent | 456a8e3553987c60a18d4a49cb5c088f5c59c5de (diff) | |
download | spack-2d464f8c8903ce57cabe411bbe979583d4ccdb5d.tar.gz spack-2d464f8c8903ce57cabe411bbe979583d4ccdb5d.tar.bz2 spack-2d464f8c8903ce57cabe411bbe979583d4ccdb5d.tar.xz spack-2d464f8c8903ce57cabe411bbe979583d4ccdb5d.zip |
`spack-python`: remove superfluous `/usr/bin/env` (#44724)
Not sure why I had this here, as `/bin/sh` will find the first spack in `PATH` just like
`env`.
- [x] remove `/usr/bin/env` and avoid an extra process launch.
Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'bin/spack-python')
-rwxr-xr-x | bin/spack-python | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/spack-python b/bin/spack-python index ff555aa93b..b8e76f826b 100755 --- a/bin/spack-python +++ b/bin/spack-python @@ -22,4 +22,4 @@ # # This is compatible across platforms. # -exec /usr/bin/env spack python "$@" +exec spack python "$@" |