From: tfheen Date: Sat, 9 Nov 2002 09:24:43 +0000 (+0000) Subject: try syntax fix for sunos X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0085be5a9b7f6b70d2b59536e78c2997b12260e;p=dotfiles try syntax fix for sunos git-svn-id: file:///svn/tfheen/trunk/dotfiles@96 8da78d58-1cd3-0310-bee5-d77bd1b3e8bf --- diff --git a/link-dotfiles b/link-dotfiles index 74b62f6..d4c0567 100755 --- a/link-dotfiles +++ b/link-dotfiles @@ -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