mjl- / mox

modern full-featured open source secure mail server for low-maintenance self-hosted email
https://www.xmox.nl
MIT License
3.38k stars 89 forks source link

Improve portability of build scripts #121

Closed daftaupe closed 5 months ago

daftaupe commented 5 months ago

Not all systems have bash (and maybe sh) in the hardcoded path, so use /usr/bin/env to reach the target.

That allows to build mox on FreeBSD for example.

mjl- commented 5 months ago

thanks for the pr! i'm a bit embarrassed to have hardcoded /bin/bash...