Only remove $INDEXFILE once a new index is ready. This allows users to interrupt `make index` without losing an old index. PR: ports/202070
Details
Details
- Reviewers
jashank_rulingia.com - Group Reviewers
portmgr
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
Comment Actions
- '${INDEXDIR}/${INDEXFILE}.tmp' moves ${INDEXDIR}/${INDEXFILE}{.tmp,} by itself, leading to a spurious ENOENT when 'index' tries to do so.
- while here, flag '${INDEXDIR}/${INDEXFILE}.tmp' as .PHONY.