]> git.nbdom.net Git - nb.git/commitdiff
md5sum for osx
authorNico Boisselier <nico@dhcp-192-168-4-150.semantico.net>
Wed, 19 Oct 2016 08:30:24 +0000 (09:30 +0100)
committerNico Boisselier <nico@dhcp-192-168-4-150.semantico.net>
Wed, 19 Oct 2016 08:30:24 +0000 (09:30 +0100)
etc/profile.d/mac.sh

index 586dcff48c5303742576a7ae38e5b5330b149171..24a82438598232bb9947db359f023099db0f78d2 100644 (file)
@@ -82,7 +82,7 @@ mac_user_top_proc() {
 }
 
 md5sum() {
-  md5 $@ | sed "s/^MD5 (\(.*\)) = \(.*\)$/\2  \1/"
+  md5 "$@" | sed "s/^MD5 (\(.*\)) = \(.*\)$/\2  \1/"
 }
 
 mac_xmessage() {