Closed anatol-sialitski closed 3 years ago
Currently the shebang line expects bash in a certain location: https://github.com/enonic/xp/blob/f850ff1eb8de1c83d25fa4ba8983200b34f98e94/modules/runtime/src/bin/server.sh#L1
This does not work on irregular distributions (such as NixOS).
This should be changed to #!/usr/bin/env bash to be more generic. This applies to all scripts containing a shebang line.
#!/usr/bin/env bash
Currently the shebang line expects bash in a certain location: https://github.com/enonic/xp/blob/f850ff1eb8de1c83d25fa4ba8983200b34f98e94/modules/runtime/src/bin/server.sh#L1
This does not work on irregular distributions (such as NixOS).
This should be changed to
#!/usr/bin/env bash
to be more generic. This applies to all scripts containing a shebang line.