]> granicus.if.org Git - php/commitdiff
Avoid notice in bundle
authorTomas V.V.Cox <cox@php.net>
Tue, 5 Aug 2003 15:36:07 +0000 (15:36 +0000)
committerTomas V.V.Cox <cox@php.net>
Tue, 5 Aug 2003 15:36:07 +0000 (15:36 +0000)
pear/PEAR/Command/Install.php

index 96a413f4c8427a3d2ff5f6d80f327ed7e235d3d7..8026a7bfb19151ee3b3456b269be5a990deedd56 100644 (file)
@@ -335,7 +335,7 @@ package if needed.
             return $this->raiseError("Please supply the package you want to bundle");
         }
         $pkgfile = $params[0];
-
+        $need_download = false;
         if (preg_match('#^(http|ftp)://#', $pkgfile)) {
             $need_download = true;
         } elseif (!@is_file($pkgfile)) {