From: tfheen Date: Thu, 29 May 2003 00:04:11 +0000 (+0000) Subject: skip backup files X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717e28c3d552b306b0282c49919192b7da86db00;p=dotfiles skip backup files git-svn-id: file:///svn/tfheen/trunk/dotfiles@155 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/link-dotfiles b/link-dotfiles index 653cd60..38092b8 100755 --- a/link-dotfiles +++ b/link-dotfiles @@ -28,7 +28,7 @@ fi linkdir () { for file in $1/*; do file=`basename $file` - if test "$file" = "CVS" || test "$file" = "`basename $0`"; then + if test "$file" = "CVS" || test "$file" = "`basename $0`" || test "`echo $file | sed 's/^.*\(.\)/\1/'`" = "~"; then continue elif test -d "$1/$file"; then if test ! -d "$2/$DOT$file"; then