]> err.no Git - dotfiles/commitdiff
exclude link-dotfiles as well
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Wed, 16 Oct 2002 00:32:07 +0000 (00:32 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Wed, 16 Oct 2002 00:32:07 +0000 (00:32 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@76 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index f75ad52ccde120026f5f8d1652ae42ca44fba03b..797c427f8d64d714f806ff9d93b10a28981cf04f 100755 (executable)
@@ -21,7 +21,7 @@ fi
 linkdir () {
     for file in $1/*; do
         file=`basename $file`
-        if test "$file" = "CVS"; then
+        if test "$file" = "CVS" || test "$file" = "`basename $0`"; then
             continue
         elif test -d  "$1/$file"; then
             if ! test -d "$2/$DOT$file"; then