Skip to content

Commit

Permalink
- bsd.port.mk - Remove ${INDEXDIR}/${INDEXFILE}.bz2 after fetchindex…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
miwi-fbsd committed Aug 22, 2009
1 parent 0081725 commit abdb1dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Mk/bsd.port.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit abdb1dd

Please sign in to comment.