Re: /etc/make.conf oddity (?)

From: Ed Schouten <ed_at_fxq.nl>
Date: Thu, 1 Mar 2007 09:04:49 +0100
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/

Received on Thu Mar 01 2007 - 07:04:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC