/etc/make.conf oddity (?)

Ed Schouten ed at fxq.nl
Thu Mar 1 08:04:51 UTC 2007


Hello Milan,

* Milan Obuch <freebsd-current at 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 at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070301/dd267528/attachment.pgp


More information about the freebsd-current mailing list