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>

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

--bgLLobvf7eP6VP5c
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Milan,

* Milan Obuch <freebsd-current@dino.sk> wrote:
> I put KERNCONF=3D"FOX" into my /etc/make.conf, make buildkernel in /usr/s=
rc=20
> tells ERROR: Missing kernel configuration file(s) (FOX).
>=20
> If I change it into KERNCONF=3DFOX, no error message and build works as i=
f=20
> command make buildkernel KERNCONF=3DFOX were given.
>=20
> My understanding was variable values should be enclosed in quotes, did I=
=20
> missread or missinterpret something?
>=20
> Even if it is no real issue (read: could not find simple workaround), I w=
ould=20
> 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,
--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

--bgLLobvf7eP6VP5c
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

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

--bgLLobvf7eP6VP5c--



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