From owner-freebsd-current@FreeBSD.ORG Thu Mar 1 17:58:11 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97DE716A408 for ; Thu, 1 Mar 2007 17:58:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 2ECCF13C461 for ; Thu, 1 Mar 2007 17:58:11 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 7479 invoked by uid 399); 1 Mar 2007 17:58:11 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 1 Mar 2007 17:58:11 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45E7142E.6020900@FreeBSD.org> Date: Thu, 01 Mar 2007 09:58:06 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Ed Schouten References: <200703010829.18334.freebsd-current@dino.sk> <20070301080449.GO11232@hoeg.nl> In-Reply-To: <20070301080449.GO11232@hoeg.nl> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , Milan Obuch Subject: Re: /etc/make.conf oddity (?) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Mar 2007 17:58:11 -0000 Ed Schouten wrote: > 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. Just to be a little pedantic, you need to quote variables _if_ there is more than one of them. foo="bar" and foo=bar are functionally equivalent, whereas foo="bar baz" and foo=bar baz mean two very different things, as you suggest above. If you want to see good examples of when quoting might be needed for make, check out ports-mgmt/portconf. hth, Doug -- This .signature sanitized for your protection