From: tfheen Date: Wed, 16 Oct 2002 00:32:07 +0000 (+0000) Subject: exclude link-dotfiles as well X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc761387aa50d5e99c4633cb50fe1b8f15e10797;p=dotfiles exclude link-dotfiles as well git-svn-id: file:///svn/tfheen/trunk/dotfiles@76 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/link-dotfiles b/link-dotfiles index f75ad52..797c427 100755 --- a/link-dotfiles +++ b/link-dotfiles @@ -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