- 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
This commit is contained in:
parent
008172504f
commit
abdb1ddb8d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240131
2 changed files with 2 additions and 2 deletions
2
Makefile
2
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
|
||||
|
|
|
@ -2416,7 +2416,7 @@ _PATCH_SITES_DEFAULT?=
|
|||
# Organize _{MASTER,PATCH}_SITES_{DEFAULT,[^/:]+} according to grouping
|
||||
# rules (:something)
|
||||
.for _S in ${MASTER_SITES}
|
||||
_S_TEMP= ${_S:S/^${_S:C@/:[^/:]+$@/@}//:S/^://}
|
||||
_S_TEMP= ${_S:S/^${_S:C@/?:[^/:]+$@/@}//:S/^://}
|
||||
. if !empty(_S_TEMP)
|
||||
. for _group in ${_S_TEMP:S/,/ /g}
|
||||
_G_TEMP= ${_group}
|
||||
|
|
Loading…
Reference in a new issue