aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-08-22 19:32:48 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-08-22 19:32:48 +0000
commitabdb1ddb8d86476878678056d232425fa76ef985 (patch)
tree600cf41f6349e443de3fecd37b0b54992904ed0f /Makefile
parent008172504f20d911f477608ccb39963c1a3379cd (diff)
downloadports-abdb1ddb8d86476878678056d232425fa76ef985.tar.gz
ports-abdb1ddb8d86476878678056d232425fa76ef985.zip
- bsd.port.mk - Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex is being run
PR: 117178 Submitted by: krion - Fix the problem usage MASTER_SITE_SUBDIR without / PR: 131452 Submitted by: osa Tested: pointyhat exp-run
Notes
Notes: svn path=/head/; revision=240131
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fe96c3dbdea0..d07f3ca4c561 100644
--- a/Makefile
+++ b/Makefile
@@ -75,7 +75,7 @@ index:
fetchindex: ${INDEXDIR}/${INDEXFILE}.bz2
@bunzip2 < ${INDEXDIR}/${INDEXFILE}.bz2 > ${INDEXDIR}/${INDEXFILE} && \
- chmod a+r ${INDEXDIR}/${INDEXFILE}
+ chmod a+r ${INDEXDIR}/${INDEXFILE} && ${RM} -f ${INDEXDIR}/${INDEXFILE}.bz2
${INDEXDIR}/${INDEXFILE}.bz2: .PHONY
@${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2