]> err.no Git - dotfiles/commitdiff
third try
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Wed, 16 Oct 2002 00:28:00 +0000 (00:28 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Wed, 16 Oct 2002 00:28:00 +0000 (00:28 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@73 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index e56cac7f4e6a00649d2565c224a0f19bd3d00b99..89ddbdfcb75490d2fedba1ddf5565b4ed0c80169 100755 (executable)
@@ -25,8 +25,10 @@ linkdir () {
             if ! test -d "$2/$DOT$file"; then
                 mkdir $2/$DOT$file
             fi
+            local OLDDOT=$DOT
             local DOT=
             linkdir $1/$file $2/$DOT$file
+            DOT=$OLDDOT
             continue
         elif ! test -f "$1/$file"; then
             continue