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
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
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
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
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
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
6 matches
Mail list logo