Date: Fri, 06 Jan 2006 02:29:59 -0600 From: "Jeremy Messenger" <mezz7@cox.net> To: vd@datamax.bg Cc: Doug Barton <dougb@freebsd.org>, freebsd ports <freebsd-ports@freebsd.org> Subject: Re: New /bin/sh based script to manage ports Message-ID: <op.s2x679qj9aq2h7@mezz.mezzweb.com> In-Reply-To: <20060106061454.GA18221@qlovarnika.bg.datamax> References: <43BCF31F.8050900@FreeBSD.org> <op.s2w24xlg9aq2h7@mezz.mezzweb.com> <20060106061454.GA18221@qlovarnika.bg.datamax>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 06 Jan 2006 00:14:54 -0600, Vasil Dimov <vd@datamax.bg> wrote: > On Thu, Jan 05, 2006 at 12:03:59PM -0600, Jeremy Messenger wrote: > ... >> Something like this: >> ========================= >> PORTSDIR=${PORTSDIR:="/usr/ports"} >> PKG_DBDIR=${PKG_DBDIR:="/var/db/pkg"} >> >> [...] >> >> . /etc/make.conf >> > > /etc/make.conf is not a shell script, it cannot be parsed that way. > Instead make -V should be used. Your right, I just did a small a test script to use make.conf and doesn't work. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s2x679qj9aq2h7>