cvs: pear-core /PEAR/Command Remote.php

From: Date: Sat, 02 Sep 2006 22:07:09 +0000
Subject: cvs: pear-core /PEAR/Command Remote.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-41964@lists.php.net to get a copy of this message
pajoye Sat Sep 2 22:07:09 2006 UTC Modified files: /pear-core/PEAR/Command Remote.php Log: - #7940, pear download fails silenty http://cvs.php.net/viewvc.cgi/pear-core/PEAR/Command/Remote.php?r1=1.94&r2=1.95&diff_format=u Index: pear-core/PEAR/Command/Remote.php diff -u pear-core/PEAR/Command/Remote.php:1.94 pear-core/PEAR/Command/Remote.php:1.95 --- pear-core/PEAR/Command/Remote.php:1.94 Sun Jun 4 12:26:21 2006 +++ pear-core/PEAR/Command/Remote.php Sat Sep 2 22:07:09 2006 @@ -17,7 +17,7 @@ * @author Greg Beaver <cellog@php.net> * @copyright 1997-2006 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Remote.php,v 1.94 2006/06/04 12:26:21 pajoye Exp $ + * @version CVS: $Id: Remote.php,v 1.95 2006/09/02 22:07:09 pajoye Exp $ * @link http://pear.php.net/package/PEAR * @since File available since Release 0.1 */ @@ -495,9 +495,13 @@ { // make certain that dependencies are ignored $options['downloadonly'] = 1; + + // eliminate error messages for preferred_state-related errors + /* TODO: Should be an option, but until now download does respect + prefered state */ + /* $options['ignorepreferred_state'] = 1; */ // eliminate error messages for preferred_state-related errors - $options['ignorepreferred_state'] = 1; - $downloader = &$this->getDownloader($options); + $downloader->setDownloadDir(getcwd()); $errors = array(); $downloaded = array();

« previous php.pear.cvs (#41964) next »