diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-05 04:18:48 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-03-05 04:18:48 -0800 |
commit | fc6aa7374a243928af38fd1e583c6c67146951cd (patch) | |
tree | 22bb8eba191bd22d62a59cf4960def42ffe545bf /lib/spack/env | |
parent | 8d2538f205ba9d9d9f0cafd678f500de04a6f144 (diff) | |
download | spack-fc6aa7374a243928af38fd1e583c6c67146951cd.tar.gz spack-fc6aa7374a243928af38fd1e583c6c67146951cd.tar.bz2 spack-fc6aa7374a243928af38fd1e583c6c67146951cd.tar.xz spack-fc6aa7374a243928af38fd1e583c6c67146951cd.zip |
Fix #104, #54: issues with overlong shebang in deep directories.
This does several things:
- Add `sbang`: a script to run scripts with long shebang lines.
- Documentation for `sbang` is in `bin/sbang`.
- Add an `sbang` hook that filters the `bin` directory after install
and modifies any scripts wtih shebangs that are too long to use
`sbang` instead.
- `sbang` is at the top level, so it should be runnable (not much we
can do if spack itself is too deep for shebang)
- `sbang`, when used as the interpreter, runs the *second* shebang
line it finds in a script.
- shoud fix issues with too long shebang paths.
Diffstat (limited to 'lib/spack/env')
0 files changed, 0 insertions, 0 deletions