Skip to content

Commit 852ec13

Browse files
author
Tal Peer
committed
* Fixed a nasty bug preventing installation of pecl exts.
1 parent aba1996 commit 852ec13

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pear/PEAR/Installer.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,8 @@ function install($pkgfile, $options = array())
569569
$this->log(2, "installing $bn");
570570
$dest = $this->config->get('ext_dir') . DIRECTORY_SEPARATOR . $bn;
571571
$this->log(3, "+ cp $ext[file] ext_dir");
572-
$copyto = $dest->_prependPath($dest, $this->installroot);
572+
//$copyto = $dest->_prependPath($dest, $this->installroot);
573+
$copyto = $dest;
573574
if (!@copy($ext['file'], $copyto)) {
574575
return $this->raiseError("failed to copy $bn to $copyto");
575576
}

0 commit comments

Comments
 (0)