summaryrefslogtreecommitdiff
path: root/bin/sbang
AgeCommit message (Collapse)AuthorFilesLines
2016-09-22Fix sbang for perl (#1802)Eric1-2/+6
* Perform shebang fix for all files * Fix sbang for perl scripts Otherwise perl would look at the #! line and call sbang again, resulting in an infinite loop.
2016-06-23Make sbang handle luaTodd Gamblin1-0/+11
- use --! instead of #! for patched lua scripts.
2016-05-11Correct LLNL LGPL license template for clarity.Todd Gamblin1-0/+24
2016-03-05Fix #104, #54: issues with overlong shebang in deep directories.Todd Gamblin1-0/+84
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.