]> err.no Git - dotfiles/commitdiff
try syntax fix for sunos
authortfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 9 Nov 2002 09:24:43 +0000 (09:24 +0000)
committertfheen <tfheen@8da78d58-1cd3-0310-bee5-d77bd1b3e8bf>
Sat, 9 Nov 2002 09:24:43 +0000 (09:24 +0000)
git-svn-id: file:///svn/tfheen/trunk/dotfiles@96 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf

link-dotfiles

index 74b62f6edba36ddf9e7ff9d6f1c77b942764effe..d4c0567dc5e764c443229981c6344eeea3177aba 100755 (executable)
@@ -24,7 +24,7 @@ linkdir () {
         if test "$file" = "CVS" || test "$file" = "`basename $0`"; then
             continue
         elif test -d  "$1/$file"; then
-            if ! test -d "$2/$DOT$file"; then
+            if test ! -d "$2/$DOT$file"; then
                 mkdir $2/$DOT$file
             fi
             local OLDDOT=$DOT
@@ -32,7 +32,7 @@ linkdir () {
             linkdir $1/$file $2/$OLDDOT$file
             DOT=$OLDDOT
             continue
-        elif ! test -f "$1/$file"; then
+        elif test ! -f "$1/$file"; then
             continue
         fi
         if test -f $2/$DOT$file; then