From 3657357e3d4f071d74b56cdddac3e1cb669e4238 Mon Sep 17 00:00:00 2001 From: obache Date: Tue, 8 Feb 2011 02:02:32 +0000 Subject: Let curl to silent fail with server error. fixes a part of PR#44528. --- mk/fetch/fetch.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mk') diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk index f979209c299..025019c2ab1 100644 --- a/mk/fetch/fetch.mk +++ b/mk/fetch/fetch.mk @@ -1,4 +1,4 @@ -# $NetBSD: fetch.mk,v 1.46 2011/01/22 02:22:17 obache Exp $ +# $NetBSD: fetch.mk,v 1.47 2011/02/08 02:02:32 obache Exp $ _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} @@ -215,6 +215,7 @@ _FETCH_OUTPUT_ARGS.wget= -O _FETCH_CMD.wget= ${PREFIX}/bin/wget _FETCH_BEFORE_ARGS.curl= ${PASSIVE_FETCH:D--ftp-pasv} \ + --fail \ ${FETCH_TIMEOUT:D--connect-timeout ${FETCH_TIMEOUT}} \ ${FETCH_TIMEOUT:D--speed-time ${FETCH_TIMEOUT}} _FETCH_AFTER_ARGS.curl= -O # must be here to honor -o option -- cgit v1.2.3