spack/share/spack
Dominic Hofer 246eeb2b69 Remove execution permission from setup-env.sh (#45641)
`setup-env.sh` is meant to be sourced, not executed directly.
By revoking execution permissions, users who accidentally execute
the script will receive an error instead of seeing no effect.

* Remove execution permission from `setup-env.sh` and friends
* Don't make output file executable in `spack commands --update-completion`

---------

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
2024-09-21 12:39:55 +02:00
..
bash Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
bootstrap Update bootstrap buildcache to support Python 3.12 (#40404) 2023-10-11 19:03:17 +02:00
csh Fix setup-env when going back and forth between instances (#40924) 2024-01-05 11:31:32 -06:00
docker Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
docs/docker/module-file-tutorial Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
fish Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
gitlab/cloud_pipelines Generate jobs should use x86_64_v3 runners only (#44582) 2024-07-01 16:56:31 +02:00
keys update tutorial command for v0.18.0 and new gpg key (#30904) 2022-05-28 02:36:20 +00:00
logo add artisanal handcrafted SVG Spack logo. (#6165) 2017-11-06 22:42:16 -08:00
qa Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
templates containers: add ubuntu 24.04 (#43881) 2024-05-01 13:37:13 +02:00
setup-env.csh Remove execution permission from setup-env.sh (#45641) 2024-09-21 12:39:55 +02:00
setup-env.fish Remove execution permission from setup-env.sh (#45641) 2024-09-21 12:39:55 +02:00
setup-env.ps1 Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
setup-env.sh Remove execution permission from setup-env.sh (#45641) 2024-09-21 12:39:55 +02:00
setup-tutorial-env.sh Remove execution permission from setup-env.sh (#45641) 2024-09-21 12:39:55 +02:00
spack-completion.bash Remove execution permission from setup-env.sh (#45641) 2024-09-21 12:39:55 +02:00
spack-completion.fish Remove execution permission from setup-env.sh (#45641) 2024-09-21 12:39:55 +02:00