coreutils: update to 9.5
[openadk.git] / scripts / md5sum
blob48c2463d000c814e3c1e49665bbc30c36878be5f
1 #!/usr/bin/env bash
2 # This file is part of the OpenADK project. OpenADK is copyrighted
3 # material, please see the LICENCE file in the top-level directory.
5 if [ -x /usr/bin/md5sum ]; then
6 /usr/bin/md5sum "$@"
7 else if [ -x /bin/md5sum ]; then
8 /bin/md5sum "$@"
9 else
10 md5 "$@" | sed 's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#'