Re: Environment variable problem

2010-05-24 Thread Eric Blake
On 05/24/2010 04:00 AM, Andrey Repin wrote: > Greetings, Willie Vu! > > >> You are right! d2u fixes the problem. Thanks! :clap: > >>From my understanding of it, this shouldn't be a problem, as all whitespace > characters should be stripped from value, unless explicitly quoted. Nope. Only whit

Re: Environment variable problem

2010-05-24 Thread Jeremy Bopp
On 05/24/2010 05:00 AM, Andrey Repin wrote: > Greetings, Willie Vu! > > >> You are right! d2u fixes the problem. Thanks! :clap: > > From my understanding of it, this shouldn't be a problem, as all whitespace > characters should be stripped from value, unless explicitly quoted. By default, bash

Re: Environment variable problem

2010-05-24 Thread Andrey Repin
Greetings, Willie Vu! > You are right! d2u fixes the problem. Thanks! :clap: >From my understanding of it, this shouldn't be a problem, as all whitespace characters should be stripped from value, unless explicitly quoted. -- WBR, Andrey Repin (anrdae...@freemail.ru) 24.05.2010, <13:59> Sorr

Re: Environment variable problem

2010-05-23 Thread Willie Vu
You are right! d2u fixes the problem. Thanks! :clap: Ken Brown-6 wrote: > > On 5/23/2010 9:51 AM, Willie Vu wrote: >> >> I set an environment variable in /etc/profile.d/env.sh that is loaded >> when >> Cygwin starts, like the following: >> >> export M2_HOME=d\:/java/apache-maven-2.2.1 >> >> Wh

Re: Environment variable problem

2010-05-23 Thread Ken Brown
On 5/23/2010 9:51 AM, Willie Vu wrote: I set an environment variable in /etc/profile.d/env.sh that is loaded when Cygwin starts, like the following: export M2_HOME=d\:/java/apache-maven-2.2.1 When it is echoed, it shows the value correctly. $ echo $M2_HOME d:/java/apache-maven-2.2.1 However,

Re: Environment variable problem

2010-05-23 Thread Huang Bambo
There is no pathname like d: in cygwin, use /cygdriver/d/ instead. 2010/5/23 Willie Vu : > > I set an environment variable in /etc/profile.d/env.sh that is loaded when > Cygwin starts, like the following: > > export M2_HOME=d\:/java/apache-maven-2.2.1 > > When it is echoed, it shows the value corr