diff options
author | Matt Belhorn <belhornmp@ornl.gov> | 2016-08-01 17:17:24 -0400 |
---|---|---|
committer | Matt Belhorn <belhornmp@ornl.gov> | 2016-08-01 17:17:24 -0400 |
commit | ae167c09fc4d3dc4b4ff90840bd70cd8648261ab (patch) | |
tree | 3d23e486b2cca5e92dd701b90be14a6cca90cbee /.mailmap | |
parent | e864d2764171b2dbd539bac16dbb7a28910407a9 (diff) | |
download | spack-ae167c09fc4d3dc4b4ff90840bd70cd8648261ab.tar.gz spack-ae167c09fc4d3dc4b4ff90840bd70cd8648261ab.tar.bz2 spack-ae167c09fc4d3dc4b4ff90840bd70cd8648261ab.tar.xz spack-ae167c09fc4d3dc4b4ff90840bd70cd8648261ab.zip |
Prefers `bash` over `sh`.
Assuming a bash interactive environment will be correctly formed on login, we
should prefer to probe the environment using a shell that reports itself as
`bash` instead of `sh` which may not source files that set the
environment modules in statements like:
```
case "$is" in
bash) test -s /etc/bash.bashrc.local && . /etc/bash.bashrc.local ;;
ksh) test -s /etc/ksh.kshrc.local && . /etc/ksh.kshrc.local ;;
zsh) test -s /etc/zsh.zshrc.local && . /etc/zsh.zshrc.local ;;
ash) test -s /etc/ash.ashrc.local && . /etc/ash.ashrc.local
esac
test -s /etc/sh.shrc.local && . /etc/sh.shrc.local
```
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions