Subject: Re: ./build.sh distribution : checkflist: flist inconsistencies found
To: Greywolf <greywolf@starwolf.com>
From: Robert Elz <kre@munnari.OZ.AU>
List: current-users
Date: 04/10/2003 19:30:59
    Date:        Fri, 4 Apr 2003 14:20:20 -0800 (PST)
    From:        Greywolf <greywolf@starwolf.com>
    Message-ID:  <Pine.NEB.4.51.0304041410330.4151@lothlorien.starwolf.com>

  | Otherwise, any site with a custom installation or any preferences
  | outside the norm will never be able to properly build a release or
  | a distribution.

When building a release, I always use

	env -i PATH=$PATH USER=$USER LOGNAME=$LOGNAME MAKECONF=/dev/null \
		sh build.sh release

(and all the right quotes, and the other args for build.sh I omitted here)

This way, nothing in the local environment (as in envp, as well as mk.conf)
can possibly affect the outcome, and customisations I use when compiling
stuff for myself all get ignored.

No extra magic is needed.

kre