Re: Probs with file-entities.php.in and Cygwin

From: Date: Fri, 27 Sep 2002 17:08:14 +0000
Subject: Re: Probs with file-entities.php.in and Cygwin
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969348850@lists.php.net to get a copy of this message
> > How you get into that directory where > > pwd returns a string not conformant to cygwin standard > > (/cygdrive/c/dir)? > > After starting Cywin via bash --login -i, simply with an cd phpdoc ;-) > /cygdrive/c/dir works well, but isn't return by pwd. > > But I can help myself, and if it's assured that newer standard-setups of > Cygwin work, simply forget it. Well, there are some ways to get pwd return something not starting with /cygdrive... Here are the methods: | Goba@MIA ~ | $ cd d:/phpcvs | | Goba@MIA d:/phpcvs | $ pwd | d:/phpcvs | | Goba@MIA d:/phpcvs | $ cd d: | | Goba@MIA /cygdrive/d | $ cd phpcvs | | Goba@MIA /cygdrive/d/phpcvs | $ pwd | /cygdrive/d/phpcvs The first is to get to that dir with one command (see prompt and pwd output). The second is to get to a drive root and then to a directory. As you can see in the prompt and pwd output, this way, the cygdrive notation is used. This is probably a cygwin bug... If you can provide us a workaround, which works in both cases, do it please ;) Goba

« previous php.doc (#969348850) next »