build.plat,vendor: start build.sh with #!/bin/sh.

The build scripts generated by Amaranth are designed to be invoked by
directly running them with any shell (some of them will re-invoke
themselves with `bash` specifically, when it's a toolchain requirement),
and they're not currently marked executable, so there's no shebang.

Add a shebang line to improve compatibility with cases where they are
treated as executables in their own right.
This commit is contained in:
Catherine 2024-01-03 11:38:42 +00:00
parent 0849e1af0b
commit 5d9ad62f36
6 changed files with 6 additions and 0 deletions

View file

@ -35,6 +35,7 @@ Platform integration changes
.. currentmodule:: amaranth.vendor
* Added: ``build.sh`` begins with ``#!/bin/sh``.
* Removed: (deprecated in 0.4) :mod:`vendor.intel`, :mod:`vendor.lattice_ecp5`, :mod:`vendor.lattice_ice40`, :mod:`vendor.lattice_machxo2_3l`, :mod:`vendor.quicklogic`, :mod:`vendor.xilinx`. (`RFC 18`_)