From: tfheen Date: Thu, 26 Sep 2002 08:21:19 +0000 (+0000) Subject: basename is your friend X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=416b166773be80d5e9b18a4cb4b98966c88675d0;p=dotfiles basename is your friend git-svn-id: file:///svn/tfheen/trunk/dotfiles@11 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/link-dotfiles b/link-dotfiles index e5f0ccf..17ccece 100755 --- a/link-dotfiles +++ b/link-dotfiles @@ -14,6 +14,7 @@ if test -z "$MD5SUM"; then fi for file in $DOTFILESDIR/*; do + file=`basename $file` if test -f $HOME/.$file; then C_MD5SUM=`$MD5SUM < $HOME/.$file` N_MD5SUM=`$MD5SUM < $DOTFILESDIR/$file`