]> granicus.if.org Git - php/commitdiff
- Fix broken installer
authorPierre Joye <pajoye@php.net>
Fri, 4 Jul 2003 11:04:07 +0000 (11:04 +0000)
committerPierre Joye <pajoye@php.net>
Fri, 4 Jul 2003 11:04:07 +0000 (11:04 +0000)
pear/install-pear.php

index c6d08703a06b7b659f97ecf87f961f91f9301e84..216fbff32fd00f2966cb352dd0009710e80159fa 100644 (file)
@@ -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') {