Date: Wed, 3 Jan 2007 15:07:43 -0500 From: Robert Huff <roberthuff@rcn.com> To: questions@freebsd.org Subject: OT: stupid sh scripting question Message-ID: <17820.3343.799303.349686@jerusalem.litteratus.org>
next in thread | raw e-mail | index | archive | help
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 Robert Huff
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17820.3343.799303.349686>