diff options
author | obache <obache> | 2011-02-08 02:02:32 +0000 |
---|---|---|
committer | obache <obache> | 2011-02-08 02:02:32 +0000 |
commit | 3657357e3d4f071d74b56cdddac3e1cb669e4238 (patch) | |
tree | 8ae2d80f5c8e13e6acb8c5dff7d2a1d0a38bbcfe | |
parent | 4125f1291dd0f88db570fffb65bce99950361a62 (diff) | |
download | pkgsrc-3657357e3d4f071d74b56cdddac3e1cb669e4238.tar.gz |
Let curl to silent fail with server error.
fixes a part of PR#44528.
-rw-r--r-- | mk/fetch/fetch.mk | 3 |
1 files changed, 2 insertions, 1 deletions
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 |