svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/ PEAR2SVN.php
| From: | Brett Bieber | Date: | Fri, 04 Dec 2009 20:36:17 +0000 |
| Subject: | svn: /pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/ PEAR2SVN.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-9074@lists.php.net to get a copy of this message | ||
saltybeagle Fri, 04 Dec 2009 20:36:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=291715
Log:
only add pear2 baseinstalldir if the package is for pear2.php.net
Changed paths:
U pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/PEAR2SVN.php
Modified: pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/PEAR2SVN.php
===================================================================
--- pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/PEAR2SVN.php 2009-12-04 20:07:00 UTC
(rev 291714)
+++ pear2/Pyrus_Developer/trunk/src/Pyrus/Developer/PackageFile/PEAR2SVN.php 2009-12-04 20:36:17 UTC
(rev 291715)
@@ -85,7 +85,11 @@
$packagepath = explode('_', $packagename);
if ($fullpathsused) {
- $packagepath = array('pear2');
+ if ($this->pxml->channel == 'pear2.php.net') {
+ $packagepath = array('pear2');
+ } else {
+ $packagepath = array('/');
+ }
} else {
array_pop($packagepath);
}