* Fixed a nasty bug preventing installation of pecl exts.

This commit is contained in:
Tal Peer 2002-10-14 19:57:40 +00:00
parent aba1996d95
commit 852ec13d41

View 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");
}