diff options
author | obache <obache@pkgsrc.org> | 2011-02-08 02:02:32 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-02-08 02:02:32 +0000 |
commit | d9f81f5b80d9564ce4cafca30068e8f90632d48f (patch) | |
tree | 8ae2d80f5c8e13e6acb8c5dff7d2a1d0a38bbcfe | |
parent | 82990877057ec4a308dada33a30b35beecf267eb (diff) | |
download | pkgsrc-d9f81f5b80d9564ce4cafca30068e8f90632d48f.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 |