diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-14 14:19:19 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-14 14:19:19 +0000 |
commit | 1024803ccc3e0e3954db5f24529932b3e8569f66 (patch) | |
tree | 416302366ff783fce0b77d0b34e4ff9780b7d6c4 /mk/fetch | |
parent | cba03b30e1269decd59a9cf739ff9381675614f9 (diff) | |
download | pkgsrc-1024803ccc3e0e3954db5f24529932b3e8569f66.tar.gz |
Checksum checks only make sense when distinfo is also present, so
move this into the conditional.
Diffstat (limited to 'mk/fetch')
-rw-r--r-- | mk/fetch/fetch.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk index 61f5ec6e2af..2a5311daafb 100644 --- a/mk/fetch/fetch.mk +++ b/mk/fetch/fetch.mk @@ -1,4 +1,4 @@ -# $NetBSD: fetch.mk,v 1.28 2007/08/01 15:24:51 jlam Exp $ +# $NetBSD: fetch.mk,v 1.29 2007/08/14 14:19:19 joerg Exp $ _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} @@ -239,9 +239,8 @@ _FETCH_CMD= ${SETENV} CHECKSUM=${_CHECKSUM_CMD:Q} \ ${SH} ${PKGSRCDIR}/mk/fetch/fetch _FETCH_ARGS+= ${PKG_VERBOSE:D-v} -_FETCH_ARGS+= ${FAILOVER_FETCH:D-c} .if exists(${DISTINFO_FILE}) -_FETCH_ARGS+= -f ${DISTINFO_FILE:Q} +_FETCH_ARGS+= ${FAILOVER_FETCH:D-c} -f ${DISTINFO_FILE:Q} .endif .if !empty(PKG_RESUME_TRANSFERS:M[yY][eE][sS]) _FETCH_ARGS+= -r |