In response to Robert Huff <[EMAIL PROTECTED]>:

> 
>       This is probably staring me in the face:
> 
> if [ ! -d "foo"] 
>       then mkdir foo
> fi
> 
>       gives me:
> 
> [: missing ]
> 
>       Looking at rc.subr I see:
> 
> if [ ! -d "$linkdir" ]; then
>            warn "$_me: the directory $linkdir does not exist."
>            return 1
> fi

The ; after the ] ?

-- 
Bill Moran
Collaborative Fusion Inc.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to