svn: /pear2/Pyrus/trunk/ RELEASE-2.0.0a2 packagexmlsetup.php
[email protected] (Brett Bieber)
| Newsgroups | php.pear.cvs,php.pear.core |
|---|---|
| Message-ID | <[email protected]> |
saltybeagle Mon, 28 Jun 2010 19:22:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=300824
Log:
Add correct php_dir replacement task to the scripts/pyrus file so when it is executed it functions correctly.
Changed paths:
U pear2/Pyrus/trunk/RELEASE-2.0.0a2
U pear2/Pyrus/trunk/packagexmlsetup.php
Modified: pear2/Pyrus/trunk/RELEASE-2.0.0a2
===================================================================
--- pear2/Pyrus/trunk/RELEASE-2.0.0a2 2010-06-28 19:20:04 UTC (rev 300823)
+++ pear2/Pyrus/trunk/RELEASE-2.0.0a2 2010-06-28 19:22:54 UTC (rev 300824)
@@ -2,4 +2,5 @@
Bug Fixes:
- Fixed minimum PHP version checks in Channel\RemotePackage [gauthierm]
- - Add SQLite3 as a required extension [saltybeagle]
\ No newline at end of file
+ - Add SQLite3 as a required extension [saltybeagle]
+ - Fix bin/pyrus script [saltybeagle]
\ No newline at end of file
Modified: pear2/Pyrus/trunk/packagexmlsetup.php
===================================================================
--- pear2/Pyrus/trunk/packagexmlsetup.php 2010-06-28 19:20:04 UTC (rev 300823)
+++ pear2/Pyrus/trunk/packagexmlsetup.php 2010-06-28 19:22:54 UTC (rev 300824)
@@ -13,5 +13,9 @@
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_HTTP_Request']->min('0.2.0');
$compatible->dependencies['required']->package['pear2.php.net/PEAR2_Console_CommandLine']->min('0.1.0');
-unset($package->files['tests/*']);
+$package->files['scripts/pyrus'] = array(
+ 'attribs' => array('role' => 'script'),
+ 'tasks:replace' => array('attribs' =>
+ array('from' => '@php_dir@', 'to' => 'php_dir', 'type' => 'pear-config'))
+);