]> err.no Git - dotfiles/commitdiff
basename is your friend
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 26 Sep 2002 08:21:19 +0000 (08:21 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 26 Sep 2002 08:21:19 +0000 (08:21 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@11 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index e5f0ccf2a92707413ebbdc65d3fb6b44866acd0d..17ccece05635a29f0590fe127552a5423e50d68d 100755 (executable)
@@ -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`