1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00

Better install report for C extensions

This commit is contained in:
Tomas V.V.Cox
2003-08-05 14:31:15 +00:00
parent 38ad5ff8d7
commit d3600ea63f
+3 -2
View File
@@ -715,11 +715,12 @@ class PEAR_Installer extends PEAR_Common
$this->rollbackFileTransaction();
return $built;
}
$this->log(1, "\nBuild process completed successfully");
foreach ($built as $ext) {
$bn = basename($ext['file']);
$this->log(2, "installing $bn");
$dest = $this->config->get('ext_dir') . DIRECTORY_SEPARATOR . $bn;
$this->log(3, "+ cp $ext[file] ext_dir");
$this->log(1, "Installing '$bn' at ext_dir ($dest)");
$this->log(3, "+ cp $ext[file] ext_dir ($dest)");
$copyto = $this->_prependPath($dest, $this->installroot);
if (!@copy($ext['file'], $copyto)) {
$this->rollbackFileTransaction();