summaryrefslogtreecommitdiff
path: root/pear/PEAR
diff options
context:
space:
mode:
authorStig Bakken <ssb@php.net>2002-11-08 00:19:21 +0000
committerStig Bakken <ssb@php.net>2002-11-08 00:19:21 +0000
commit28c2fb66813794e61f54c792fc3d42151c90881c (patch)
tree41dcd83a8a72741f521be9df33abf710804fe9d8 /pear/PEAR
parent1a4c1eb8a911f7068f9745fd533cd979560258a3 (diff)
downloadphp-git-28c2fb66813794e61f54c792fc3d42151c90881c.tar.gz
* fix path prepends
Diffstat (limited to 'pear/PEAR')
-rw-r--r--pear/PEAR/Installer.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/pear/PEAR/Installer.php b/pear/PEAR/Installer.php
index e97a9cabc5..e6507a35ad 100644
--- a/pear/PEAR/Installer.php
+++ b/pear/PEAR/Installer.php
@@ -563,7 +563,7 @@ class PEAR_Installer extends PEAR_Common
if ($this->source_files > 0 && empty($options['nobuild'])) {
$this->log(1, "$this->source_files source files, building");
- $bob = &new PEAR_Builder($this->ui); // Malin loves Bob the Builder
+ $bob = &new PEAR_Builder($this->ui);
$bob->debug = $this->debug;
$built = $bob->build($descfile, array(&$this, '_buildCallback'));
if (PEAR::isError($built)) {
@@ -574,8 +574,7 @@ 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;
+ $copyto = $this->_prependPath($dest, $this->installroot);
if (!@copy($ext['file'], $copyto)) {
return $this->raiseError("failed to copy $bn to $copyto");
}