summaryrefslogtreecommitdiff
path: root/mk/fetch
diff options
context:
space:
mode:
authordholland <dholland>2016-01-06 07:38:25 +0000
committerdholland <dholland>2016-01-06 07:38:25 +0000
commit5c6cf9164d07cbba1e5c2fcbf4a5b0490909dcfb (patch)
tree43ff554cd0fd9d01605be87a71c749ad429211b6 /mk/fetch
parent7127420a9488a5f66634569ac2386e37b8835f28 (diff)
downloadpkgsrc-5c6cf9164d07cbba1e5c2fcbf4a5b0490909dcfb.tar.gz
Use :tA to make DISTINFO_FILE absolute when passing it to the fetch
and checksum scripts. Fixes the problem where DISTINFO_FILE=../../foo/bar/distinfo doesn't work without having an extraneous and ugly ${.CURDIR} stuffed into it by hand.
Diffstat (limited to 'mk/fetch')
-rw-r--r--mk/fetch/fetch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk
index be1a328bade..144326006b2 100644
--- a/mk/fetch/fetch.mk
+++ b/mk/fetch/fetch.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fetch.mk,v 1.67 2015/09/14 08:27:13 joerg Exp $
+# $NetBSD: fetch.mk,v 1.68 2016/01/06 07:38:25 dholland Exp $
.if empty(INTERACTIVE_STAGE:Mfetch) && empty(FETCH_MESSAGE:U)
_MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
@@ -260,7 +260,7 @@ _FETCH_CMD= ${PKGSRC_SETENV} CHECKSUM=${_CHECKSUM_CMD:Q} \
_FETCH_ARGS+= ${PKG_VERBOSE:D-v}
.if exists(${DISTINFO_FILE})
-_FETCH_ARGS+= ${FAILOVER_FETCH:D-c} -f ${DISTINFO_FILE:Q}
+_FETCH_ARGS+= ${FAILOVER_FETCH:D-c} -f ${DISTINFO_FILE:tA:Q}
.endif
.if !empty(PKG_RESUME_TRANSFERS:M[yY][eE][sS])
_FETCH_ARGS+= -r