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>
This commit is contained in:
Todd Gamblin 2024-06-15 08:11:19 -07:00 committed by GitHub
parent 456a8e3553
commit 2d464f8c89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,4 +22,4 @@
#
# This is compatible across platforms.
#
exec /usr/bin/env spack python "$@"
exec spack python "$@"