Buildworld Fails RELENG_7
Mark Andrews
Mark_Andrews at isc.org
Tue May 20 03:33:19 UTC 2008
>
> > On Tue, May 20, 2008 at 11:58:03AM +1000, Mark Andrews wrote:
> > >
> > > > # export CFLAGS=""
> > >
> > > This does NOT remove CFLAGS from the environment.
> >
> > It does when you shell is bash.
>
> bash is broken. Empty environment variables have meaning.
>
> Mark
And when tested does behave the way you describe.
Mark
drugs:9.5.x 13:30 {4371} % bash
[marka at drugs ~/cvs/9.5.x]$ printenv | grep FOO
[marka at drugs ~/cvs/9.5.x]$ FOO=ll
[marka at drugs ~/cvs/9.5.x]$ export FOO
[marka at drugs ~/cvs/9.5.x]$ printenv | grep FOO
FOO=ll
[marka at drugs ~/cvs/9.5.x]$ FOO=""
[marka at drugs ~/cvs/9.5.x]$ export FOO
[marka at drugs ~/cvs/9.5.x]$ printenv | grep FOO
FOO=
[marka at drugs ~/cvs/9.5.x]$ env -i PATH=$PATH printenv | grep FOO
[marka at drugs ~/cvs/9.5.x]$
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the freebsd-stable
mailing list