diff options
author | Tomas V.V.Cox <cox@php.net> | 2003-07-03 05:09:36 +0000 |
---|---|---|
committer | Tomas V.V.Cox <cox@php.net> | 2003-07-03 05:09:36 +0000 |
commit | 0ba644f3f7f2ba501a67c5587b814f3689c75197 (patch) | |
tree | 9640f646995cb837813ea8f9af45bb9bbb5be64b | |
parent | 9b31c51d668a5fb2435f604bc26139d656eab5af (diff) | |
download | php-git-0ba644f3f7f2ba501a67c5587b814f3689c75197.tar.gz |
typo, need the complete file name not the basenamed one
-rw-r--r-- | pear/install-pear.php | 2 |
1 files changed, 1 insertions, 1 deletions
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') { |