spack/bin
Toyohisa Kameyama bb00b1a7c9
sbang: add support for php (#18299)
PHP supports an initial shebang, but its comment syntax can't handle our 2-line
shebangs. So, we need to embed the 2nd-line shebang comment to look like a
PHP comment:

    <?php #!/path/to/php ?>

This adds patching support to the sbang hook and support for
instrumenting php shebangs.

This also patches `phar`, which is a tool used to create php packages.
`phar` itself has to add sbangs to those packages (as phar archives
apparently contain UTF-8, as well as binary blobs), and `phar` sets a
checksum based on the contents of the package.

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-10-26 22:11:43 -07:00
..
sbang sbang: add support for php (#18299) 2020-10-26 22:11:43 -07:00
spack copyright: update copyright dates for 2020 (#14328) 2019-12-30 22:36:56 -08:00
spack-python spack-python should exec spack python (#15738) 2020-03-29 19:38:15 -07:00