summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2017-04-28 16:54:44 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-07-05 12:54:17 -0700
commite625ee3ffda7505c300614aca2b3947095ab9d8e (patch)
tree4517002f820af67c833655ca74a7d781f3041737 /etc
parenta7da5dcb199a2aa3f189f2e67dac25b5ea578525 (diff)
downloadspack-e625ee3ffda7505c300614aca2b3947095ab9d8e.tar.gz
spack-e625ee3ffda7505c300614aca2b3947095ab9d8e.tar.bz2
spack-e625ee3ffda7505c300614aca2b3947095ab9d8e.tar.xz
spack-e625ee3ffda7505c300614aca2b3947095ab9d8e.zip
setup-env.sh: now compatible with bash, zsh, and dash
- replace use of [[ with [ - replace function foo { .. } with foo() { .. } - wrap some long lines - add lsof and /proc/fd magic so that we can find the sourced file even in dash - only do the complicated shell checks in one place; test $_sp_shell elsewhere.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions