From owner-freebsd-questions@FreeBSD.ORG Fri Jul 11 12:01:13 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 800DB1065677 for ; Fri, 11 Jul 2008 12:01:13 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 67ABF8FC24 for ; Fri, 11 Jul 2008 12:01:13 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 7C4C01CD96; Fri, 11 Jul 2008 04:01:12 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 11 Jul 2008 14:01:11 +0200 User-Agent: KMail/1.9.7 References: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> In-Reply-To: <50440.10.90.34.181.1215767284.squirrel@dom.raid.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807111401.11516.fbsd.questions@rachie.is-a-geek.net> Cc: iiv@dom.raid.ru Subject: Re: build system to DESTDIR X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 12:01:13 -0000 On Friday 11 July 2008 11:08:04 iiv@dom.raid.ru wrote: > To build system for the diskless station, whether there are > differences between: > > [in script] > #!/bin/sh > export DESTDIR=/usr/diskless > cd /usr/src; make buildworld > > and > > [in csh] > # setenv DESTDIR /usr/diskless > # cd /usr/src > # make buildworld There should not be a difference, but to rule out any shell issues, it is best to invoke: make buildworld DESTDIR=/usr/diskless Make itself then handles the variable. -- Mel Problem with today's modular software: they start with the modules and never get to the software part.