contrib: FreeBSD compatibility in install_db4.sh
commitd95c83d193d4f16dc85cb4a81ab481cbbe41a033
authorWladimir J. van der Laan <laanwj@gmail.com>
Wed, 20 Dec 2017 13:33:58 +0000 (20 13:33 +0000)
committerWladimir J. van der Laan <laanwj@gmail.com>
Wed, 20 Dec 2017 13:58:39 +0000 (20 14:58 +0100)
treea98ad717a16f9ca8916a38696dc20024e933a234
parentc0298b06e5b58ed8b177c39354a0c3f8b1b88263
contrib: FreeBSD compatibility in install_db4.sh

Unfortunately, FreeBSD uses yet another syntax for `sha256`.

Support FreeBSD's syntax too. Using `uname` is a bit of a hack but it
works and I found no way to distinguish the two.
contrib/install_db4.sh