From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from vulpes.veloxis.de ([85.10.192.253]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1UAI1c-0002wS-PP for ptxdist@pengutronix.de; Tue, 26 Feb 2013 11:44:45 +0100 From: Dennis Herbrich Date: Tue, 26 Feb 2013 11:42:58 +0100 Message-Id: <1361875378-12587-1-git-send-email-kontakt+git@veloxis.de> Subject: [ptxdist] [PATCH] Add support for no-proxy option in URLS. Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Dennis 'Gyroplast' Herbrich From: Dennis 'Gyroplast' Herbrich Add support for wget no-proxy option in URLs. Signed-off-by: Dennis 'Gyroplast' Herbrich --- scripts/lib/ptxd_make_get.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh index f91d1fb..914b3d5 100644 --- a/scripts/lib/ptxd_make_get.sh +++ b/scripts/lib/ptxd_make_get.sh @@ -27,7 +27,7 @@ ptxd_make_get_http() { shift case "${opt}" in - no-check-certificate) + no-check-certificate|no-proxy) opts[${#opts[@]}]="--${opt}" ;; *) @@ -112,6 +112,7 @@ export -f ptxd_make_get_download_permitted # # valid options: # - no-check-certificate don't check server certificate (https only) +# - no-proxy don't use proxy even if configured # ptxd_make_get() { local -a argv -- 1.7.9.4 -- ptxdist mailing list ptxdist@pengutronix.de