]> err.no Git - dotfiles/commitdiff
skip backup files
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 29 May 2003 00:04:11 +0000 (00:04 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Thu, 29 May 2003 00:04:11 +0000 (00:04 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@155 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index 653cd60f1904df6340df6fc8b3202f71983308e5..38092b87eefc7e39b327c7f980608c823fe90f9a 100755 (executable)
@@ -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