Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Dec 2006 11:49:59 +0530
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        freebsd@alaskaparadise.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: if exists statement
Message-ID:  <84dead720612182219x4c8567c0o7ef70c439e240788@mail.gmail.com>
In-Reply-To: <200612182030.42795.freebsd@alaskaparadise.com>
References:  <200612182030.42795.freebsd@alaskaparadise.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> .if exists= ${PREFIX}/etc/rc.d
> exit
> else
> ${MKDIR} ${PREFIX}/etc/rc.d
> .endif
>
> but it doesn't work.
>
> Can someone give me the right syntax?

.if exists(${PREFIX}/etc/rc.d)

.else

.endif

-- 
FreeBSD Volunteer,     http://people.freebsd.org/~jkoshy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720612182219x4c8567c0o7ef70c439e240788>