mjl- / mox

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

Improve portability of build scripts #121

Closed daftaupe closed 9 months ago

daftaupe commented 9 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 9 months ago

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