[PEPr] +1 for File Formats::File_CAB
| From: | David Jean Louis | Date: | Wed, 06 Feb 2008 10:20:15 +0000 |
| Subject: | [PEPr] +1 for File Formats::File_CAB | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-49097@lists.php.net to get a copy of this message | ||
David Jean Louis (http://pear.php.net/user/izi) has voted +1 on the proposal for File
Formats::File_CAB.
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=525
Vote information:
http://pear.php.net/pepr/pepr-vote-show.php?id=525&handle=izi
Comment:
"/usr/bin/" should not be hardcoded, for example on my OS (OpenBSD):
$ sudo pkg_add -i cabextract
cabextract-1.2: complete
$ which cabextract
/usr/local/bin/cabextract
You should use instead the %bin_dir% variable substitution provided by the
pear installer, for example:
const UNIX_COMMAND = '%bin_dir%/cabextract';
and in your package.xml:
<tasks:replace from="@bin_dir@" to="bin_dir" type="pear-config"
/>
Clean code otherwise, except for some long lines that could be wrapped for
more readability IMHO.
--
Sent by PEPr, the automatic proposal system at http://pear.php.net