pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/fetch Checksum checks only make sense when distinfo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/340dc6c00792
branches:  trunk
changeset: 532229:340dc6c00792
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Aug 14 14:19:19 2007 +0000

description:
Checksum checks only make sense when distinfo is also present, so
move this into the conditional.

diffstat:

 mk/fetch/fetch.mk |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r e4fda18f8c80 -r 340dc6c00792 mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Tue Aug 14 14:08:13 2007 +0000
+++ b/mk/fetch/fetch.mk Tue Aug 14 14:19:19 2007 +0000
@@ -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 @@
                ${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



Home | Main Index | Thread Index | Old Index