notmuch/test/test-lib-FREEBSD.sh

10 lines
270 B
Bash
Raw Permalink Normal View History

# If present, use GNU Coreutils instead of a native BSD utils
if command -v gdate >/dev/null
then
date () { gdate "$@"; }
base64 () { gbase64 "$@"; }
wc () { gwc "$@"; }
sed () { gsed "$@"; }
sha256sum () { gsha256sum "$@"; }
fi