diff options
author | joerg <joerg> | 2007-08-14 14:19:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-14 14:19:19 +0000 |
commit | 379ccd8fa3a95b7f1e23eae5a598fbf4a88a7564 (patch) | |
tree | 416302366ff783fce0b77d0b34e4ff9780b7d6c4 /mk/fetch | |
parent | 660537068b4f309c5a3afee4de15cb31aec3abee (diff) | |
download | pkgsrc-379ccd8fa3a95b7f1e23eae5a598fbf4a88a7564.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 |