RE: [PEAR] go-pear doesn't like env vars
| From: | Maarten van Dantzich | Date: | Wed, 04 Jan 2006 07:06:26 +0000 |
| Subject: | RE: [PEAR] go-pear doesn't like env vars | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-22425@lists.php.net to get a copy of this message | ||
> ENV vars are normally expanded by your shell. AFAIK, PHP has
> no built-in way to expand ENV vars within a script. This should
> probably be mentioned somewhere in the manual...care to give us
> quick patch to the docs?
It makes more sense to me to fix the problem than to document it somewhere.
Would it be reasonable for me to file a bug and request that go-pear not use
the "$prefix" phrasing in the path names it presents?
Currently it says:
> 1. Installation prefix : /usr/local
> 2. Binaries directory : $prefix/bin
but instead would be modified to say something like:
> 1. Installation prefix : /usr/local
> 2. Binaries directory : [install dir]/bin
/Maarten.