Re: Question re. export environment variable

2003-02-20 Thread David Bath
Date: Thu, 20 Feb 2003 12:38:43 -0500 From: Shing-Fat Fred Ma <[EMAIL PROTECTED]> To: Bob McGowan <[EMAIL PROTECTED]> CC: [EMAIL PROTECTED] Subject: Re: Question re. export environment variable Thanks, Bob. That's the way I expected it to work. I was just unsure of whether th

Re: Question re. export environment variable

2003-02-20 Thread Shing-Fat Fred Ma
Thanks, Bob. That's the way I expected it to work. I was just unsure of whether there was something cygwin-specific, as it seems strange that something like HOSTNAME is not marked for export at the time that it is set. I'll stick it into ~/.bashrc. Fred -- Fred Ma, [EMAIL PROTECTED] Carleton Un

Re: Question re. export environment variable

2003-02-20 Thread Shing-Fat Fred Ma
Igor Pechtchanski wrote: > On Thu, 20 Feb 2003, Fred Ma wrote: > > > Hello, > > > > I'm using cygwin bash 2.05b-8 (it's actually gnu). > > I thought that $HOSTNAME was an environment > > variable. When I run gnu make (I'm pretty > > sure this is not a make problem), $(HOSTNAME) > > is empty. It

Re: Question re. export environment variable

2003-02-20 Thread Bob McGowan
Fred, perhaps this will help: echo $TEST # Test has no value, hence the blank line. $ TEST=noexport # Set but not exported $ echo $TEST noexport $ env|grep TEST # Nothing found, no output. $ export TEST # Export it. $ env|grep TEST # And now it's found in the environment. TEST=noexport $ TEST=s

Re: Question re. export environment variable

2003-02-20 Thread Igor Pechtchanski
On Thu, 20 Feb 2003, Fred Ma wrote: > Hello, > > I'm using cygwin bash 2.05b-8 (it's actually gnu). > I thought that $HOSTNAME was an environment > variable. When I run gnu make (I'm pretty > sure this is not a make problem), $(HOSTNAME) > is empty. It gets fixed if I do "export HOSTNAME" > befo

Question re. export environment variable

2003-02-20 Thread Fred Ma
Hello, I'm using cygwin bash 2.05b-8 (it's actually gnu). I thought that $HOSTNAME was an environment variable. When I run gnu make (I'm pretty sure this is not a make problem), $(HOSTNAME) is empty. It gets fixed if I do "export HOSTNAME" before running make. Is there a way to check if the exp