diff options
| author | Tal Peer <tal@php.net> | 2002-10-14 19:57:40 +0000 |
|---|---|---|
| committer | Tal Peer <tal@php.net> | 2002-10-14 19:57:40 +0000 |
| commit | 852ec13d41a9b98f7246fea10902472e2300f506 (patch) | |
| tree | 7ac7c152f872c9184c6887fc7657b1b696872fb2 | |
| parent | aba1996d95f96a1d152c182c5f598e7193a58c60 (diff) | |
| download | php-git-852ec13d41a9b98f7246fea10902472e2300f506.tar.gz | |
* Fixed a nasty bug preventing installation of pecl exts.
| -rw-r--r-- | pear/PEAR/Installer.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php index a6c5d96a0f..21c268d291 100644 --- a/pear/PEAR/Installer.php +++ b/pear/PEAR/Installer.php @@ -569,7 +569,8 @@ class PEAR_Installer extends PEAR_Common $this->log(2, "installing $bn"); $dest = $this->config->get('ext_dir') . DIRECTORY_SEPARATOR . $bn; $this->log(3, "+ cp $ext[file] ext_dir"); - $copyto = $dest->_prependPath($dest, $this->installroot); + //$copyto = $dest->_prependPath($dest, $this->installroot); + $copyto = $dest; if (!@copy($ext['file'], $copyto)) { return $this->raiseError("failed to copy $bn to $copyto"); } |
