Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Mar 2007 09:04:49 +0100
From:      Ed Schouten <ed@fxq.nl>
To:        Milan Obuch <freebsd-current@dino.sk>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: /etc/make.conf oddity (?)
Message-ID:  <20070301080449.GO11232@hoeg.nl>
In-Reply-To: <200703010829.18334.freebsd-current@dino.sk>
References:  <200703010829.18334.freebsd-current@dino.sk>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hello Milan,

* Milan Obuch <freebsd-current@dino.sk> wrote:
> I put KERNCONF="FOX" into my /etc/make.conf, make buildkernel in /usr/src 
> tells ERROR: Missing kernel configuration file(s) (FOX).
> 
> If I change it into KERNCONF=FOX, no error message and build works as if 
> command make buildkernel KERNCONF=FOX were given.
> 
> My understanding was variable values should be enclosed in quotes, did I 
> missread or missinterpret something?
> 
> Even if it is no real issue (read: could not find simple workaround), I would 
> like to know if it's me or not.

I once had this issue as well. Keep in mind that /etc/make.conf is a
Makefile, not a shellscript. In Makefiles you don't need to quote your
variables. In shell scripts you do, because the second argument will be
treated as a command.

Yours,
-- 
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFF5okh52SDGA2eCwURAtLFAJ9i3lNLgMLbwVfd8fv1M8uWc2RSNQCfdO1s
pnSy1Zxs1CuNNxjspR8EQ34=
=UPX+
-----END PGP SIGNATURE-----
help

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