New /bin/sh based script to manage ports

Jeremy Messenger mezz7 at cox.net
Fri Jan 6 00:28:57 PST 2006


On Fri, 06 Jan 2006 00:14:54 -0600, Vasil Dimov <vd at 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 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ports mailing list