package/hostapd: enhance compile-options a bit, eases testing
[openadk.git] / scripts / md5sum
blob24e1e9fac698aa8dfff635fbe4e2637784ddd8b7
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
8 md5 "$@" | sed 's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#'
9 fi