summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/md5sum3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/md5sum b/scripts/md5sum
index 24e1e9fac..48c2463d0 100755
--- a/scripts/md5sum
+++ b/scripts/md5sum
@@ -4,6 +4,9 @@
if [ -x /usr/bin/md5sum ]; then
/usr/bin/md5sum "$@"
+else if [ -x /bin/md5sum ]; then
+ /bin/md5sum "$@"
else
md5 "$@" | sed 's#MD5 (\([^)]*\)) = \(.*\)#\2 \1#'
fi
+fi