summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorDominic Hofer <6570912+dominichofer@users.noreply.github.com>2024-08-09 22:27:07 +0200
committerGitHub <noreply@github.com>2024-08-09 13:27:07 -0700
commitda33c12ad4d70c39dce99885c64bb755d6fce2e6 (patch)
tree60fa819016a2e8dec658f492d9b395d3f4990f5b /share
parentc30979ed6672cf20e32fb889e4d6b184c0c940fc (diff)
downloadspack-da33c12ad4d70c39dce99885c64bb755d6fce2e6.tar.gz
spack-da33c12ad4d70c39dce99885c64bb755d6fce2e6.tar.bz2
spack-da33c12ad4d70c39dce99885c64bb755d6fce2e6.tar.xz
spack-da33c12ad4d70c39dce99885c64bb755d6fce2e6.zip
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>
Diffstat (limited to 'share')
-rw-r--r--[-rwxr-xr-x]share/spack/setup-env.csh0
-rw-r--r--[-rwxr-xr-x]share/spack/setup-env.fish0
-rw-r--r--[-rwxr-xr-x]share/spack/setup-env.sh0
-rw-r--r--[-rwxr-xr-x]share/spack/setup-tutorial-env.sh0
-rw-r--r--[-rwxr-xr-x]share/spack/spack-completion.bash0
-rw-r--r--[-rwxr-xr-x]share/spack/spack-completion.fish0
6 files changed, 0 insertions, 0 deletions
diff --git a/share/spack/setup-env.csh b/share/spack/setup-env.csh
index 14dcee56b7..14dcee56b7 100755..100644
--- a/share/spack/setup-env.csh
+++ b/share/spack/setup-env.csh
diff --git a/share/spack/setup-env.fish b/share/spack/setup-env.fish
index a7aac67430..a7aac67430 100755..100644
--- a/share/spack/setup-env.fish
+++ b/share/spack/setup-env.fish
diff --git a/share/spack/setup-env.sh b/share/spack/setup-env.sh
index f3e87fe514..f3e87fe514 100755..100644
--- a/share/spack/setup-env.sh
+++ b/share/spack/setup-env.sh
diff --git a/share/spack/setup-tutorial-env.sh b/share/spack/setup-tutorial-env.sh
index 6979da5329..6979da5329 100755..100644
--- a/share/spack/setup-tutorial-env.sh
+++ b/share/spack/setup-tutorial-env.sh
diff --git a/share/spack/spack-completion.bash b/share/spack/spack-completion.bash
index 7a33021f4c..7a33021f4c 100755..100644
--- a/share/spack/spack-completion.bash
+++ b/share/spack/spack-completion.bash
diff --git a/share/spack/spack-completion.fish b/share/spack/spack-completion.fish
index a2ffebda7c..a2ffebda7c 100755..100644
--- a/share/spack/spack-completion.fish
+++ b/share/spack/spack-completion.fish