cvs: php4 /pear/PEAR Installer.php

From: Date: Fri, 08 Nov 2002 00:19:21 +0000
Subject: cvs: php4 /pear/PEAR Installer.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-7312@lists.php.net to get a copy of this message
ssb Thu Nov 7 19:19:21 2002 EDT Modified files: /php4/pear/PEAR Installer.php Log: * fix path prepends Index: php4/pear/PEAR/Installer.php diff -u php4/pear/PEAR/Installer.php:1.78 php4/pear/PEAR/Installer.php:1.79 --- php4/pear/PEAR/Installer.php:1.78 Tue Oct 22 19:08:09 2002 +++ php4/pear/PEAR/Installer.php Thu Nov 7 19:19:21 2002 @@ -17,7 +17,7 @@ // | Tomas V.V.Cox <cox@idecnet.com> | // +----------------------------------------------------------------------+ // -// $Id: Installer.php,v 1.78 2002/10/22 23:08:09 ssb Exp $ +// $Id: Installer.php,v 1.79 2002/11/08 00:19:21 ssb Exp $ require_once 'PEAR/Common.php'; require_once 'PEAR/Registry.php'; @@ -563,7 +563,7 @@ 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 @@ $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"); }

« previous php.pear.cvs (#7312) next »