From: tfheen Date: Thu, 26 Sep 2002 08:22:27 +0000 (+0000) Subject: Don't touch directories. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d291922df10c9730e2d4fa10103eb89c0a7e05;p=dotfiles Don't touch directories. git-svn-id: file:///svn/tfheen/trunk/dotfiles@12 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/link-dotfiles b/link-dotfiles index 17ccece..efb4cde 100755 --- a/link-dotfiles +++ b/link-dotfiles @@ -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`