Ilya,

Am 15.02.20 um 20:38 schrieb Илья Шипицин:
> that utility is not available by default in Fedora docker image.

I believe we can rewrite that test to use the `type` builtin instead of
`which`:

> $ type -p md5
> $ type -p md5sum
> /usr/bin/md5sum
> $ md5=$(type -p md5 || type -p md5sum)
> $ echo $md5
> /usr/bin/md5sum

Best regards
Tim Düsterhus

Reply via email to