]> granicus.if.org Git - php/commitdiff
* Fixed a nasty bug preventing installation of pecl exts.
authorTal Peer <tal@php.net>
Mon, 14 Oct 2002 19:57:40 +0000 (19:57 +0000)
committerTal Peer <tal@php.net>
Mon, 14 Oct 2002 19:57:40 +0000 (19:57 +0000)
pear/PEAR/Installer.php

index a6c5d96a0f3b93a753cd3d2ded5f54e98340a548..21c268d29112d22502478d76f7edbcae840d6d67 100644 (file)
@@ -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");
                     }