From owner-freebsd-questions Sun Aug 19 21: 7:41 2001 Delivered-To: freebsd-questions@freebsd.org Received: from stjohn.stjohn.ac.th (stjohn.stjohn.ac.th [202.21.144.1]) by hub.freebsd.org (Postfix) with ESMTP id 124BF37B415 for ; Sun, 19 Aug 2001 21:07:37 -0700 (PDT) (envelope-from mcrogerm@stjohn.ac.th) Received: from tulip ([203.151.134.104]) by stjohn.stjohn.ac.th (8.9.3+Sun/8.9.3) with SMTP id KAA11336 for ; Mon, 20 Aug 2001 10:59:57 +0700 (ICT) Message-Id: <3.0.6.32.20010820110621.007d7100@stjohn.stjohn.ac.th> X-Sender: mcrogerm@stjohn.stjohn.ac.th X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Mon, 20 Aug 2001 11:06:21 +0700 To: freebsd-questions@FreeBSD.ORG From: Roger Merritt Subject: Re: What sets my env? In-Reply-To: <20010819184037.F313@blossom.cjclark.org> References: <3.0.6.32.20010820081226.007cbbb0@stjohn.stjohn.ac.th> <53740635@toto.iv> <15229.13299.802679.707365@guru.mired.org> <3.0.6.32.20010820081226.007cbbb0@stjohn.stjohn.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 06:40 PM 8/19/01 -0700, you wrote: >On Mon, Aug 20, 2001 at 08:12:26AM +0700, Roger Merritt wrote: >> At 10:10 AM 8/17/01 -0500, you wrote: >> >Roger Merritt types: >> >> I was preparing to make my docs and checked the environment variable >> >> DOC_LANG, since they changed the name of the directory in the doc tree. I >> >> found that DOC_LANG was still set to the old value and started looking >> >> around to find where this was being set from. Darned if I can find it. It's >> >> not being done in my .profile or .bashrc. grep doesn't find anything in the >> >> file in /etc, although I did find a line in /etc/defaults/make.conf; but it >> >> has the correct value. My current solution was to copy the relevant lines >> >> to /etc/make.conf and uncomment the required line. >> >> But I'm curious. Where is this environment value being set when the shell >> >> is started? >> > >> >It can be set in /etc/login.conf. >> > >> > > >-- >> >Mike Meyer http://www.mired.org/home/mwm/ >> >Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. >> > >> >> I guess it can be, but it isn't. Somewhere during bootup *something* is >> setting it, and I still can't locate it. > >I think you are actually talking about a make(1) variable and not a >shell environmental variable, right? > >Make sure to nuke all of your build space before starting a build with >new sources. (This applies to building world or kernel as well.) Does >this make a difference? >-- >Crist J. Clark cjclark@alum.mit.edu > No, I'm talking about the environment variable. It's not being set in .bashrc or .profile (although I suppose it should be). It's not being set from login.conf ( think that's where my PATH variable is being set from, though). I've set the definition in make.conf, so the environment variable shouldn't matter, but it bugs me that I can't find the text string "en_US.ISO_8859-1" anywhere. Oh, it's only set for 'root', if that makes a difference. When I log on as a regular user it isn't set, but after I 'su -' it is. -- Roger To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message