]> err.no Git - dotfiles/commitdiff
Don't touch directories.
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 26 Sep 2002 08:22:27 +0000 (08:22 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 26 Sep 2002 08:22:27 +0000 (08:22 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@12 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index 17ccece05635a29f0590fe127552a5423e50d68d..efb4cde5865d727f973857850158b583c72e21b7 100755 (executable)
@@ -15,6 +15,9 @@ fi
 
 for file in $DOTFILESDIR/*; do
     file=`basename $file`
+    if ! test -f "$DOTFILESDIR/$file"; then
+        continue
+    fi
     if test -f $HOME/.$file; then
         C_MD5SUM=`$MD5SUM < $HOME/.$file`
         N_MD5SUM=`$MD5SUM < $DOTFILESDIR/$file`