Re: Probs with file-entities.php.in and Cygwin
| From: | Thomas Schöfbeck | Date: | Thu, 26 Sep 2002 22:00:03 +0000 |
| Subject: | Re: Probs with file-entities.php.in and Cygwin | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969348835@lists.php.net to get a copy of this message | ||
Gabor Hojtsy wrote:
Yes. As usual, the configure is not run form the phpdoc checkout dir on the generator machine. What getcwd() returns, is the PHP scripts directory, AFAIK, as PHP set the current directory to be the script's directory (there may be a setting for it?). Thus the value returned by getcwd() and the value in @WORKDIR@ are quite different. This is why I have implemented some workarounds in that preg replace thing...I often rankled with the fact that this machine is a big oracle, but this time I didn't even think about it, thanks.
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. Cu, Thomas