From: Pierre Joye Date: Fri, 4 Jul 2003 11:04:07 +0000 (+0000) Subject: - Fix broken installer X-Git-Tag: php-4.3.3RC2~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5320379dc023d133478f4ab510ff2d678e3f5bab;p=php - Fix broken installer --- diff --git a/pear/install-pear.php b/pear/install-pear.php index c6d08703a0..216fbff32f 100644 --- a/pear/install-pear.php +++ b/pear/install-pear.php @@ -20,7 +20,7 @@ for ($i = 0; $i < sizeof($argv); $i++) { $bn = basename($arg); if (ereg('package-(.*)\.xml$', $bn, $matches) || ereg('([A-Za-z0-9_:]+)-.*\.(tar|tgz)$', $bn, $matches)) { - $install_files[$matches[1]] = $bn; + $install_files[$matches[1]] = $arg; } elseif ($arg == '--force') { $force = true; } elseif ($arg == '-d') {