From: tfheen Date: Thu, 26 Sep 2002 09:15:33 +0000 (+0000) Subject: md5sum can also be named md5.. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19457fd2a1439d954517d24665587122b777e35c;p=dotfiles md5sum can also be named md5.. git-svn-id: file:///svn/tfheen/trunk/dotfiles@20 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/link-dotfiles b/link-dotfiles index efb4cde..4129dd3 100755 --- a/link-dotfiles +++ b/link-dotfiles @@ -2,6 +2,9 @@ DOTFILESDIR=$HOME/dotfiles MD5SUM=`which md5sum` +if test -z "$MD5SUM"; then + MD5SUM=`which md5` +fi if test ! -d $DOTFILESDIR; then echo "$DOTFILESDIR does not exist! exiting"