Page MenuHomeFreeBSD

Only remove $INDEXFILE once a new index is ready
Needs ReviewPublic

Authored by jashank_rulingia.com on Aug 4 2015, 7:39 AM.

Details

Reviewers
None
Group Reviewers
portmgr
Summary
Only remove $INDEXFILE once a new index is ready.  This allows users to
interrupt `make index` without losing an old index.


PR:		ports/202070

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

jashank_rulingia.com retitled this revision from to Only remove $INDEXFILE once a new index is ready.
jashank_rulingia.com updated this object.
jashank_rulingia.com edited the test plan for this revision. (Show Details)
jashank_rulingia.com set the repository for this revision to rP FreeBSD ports repository.
jashank_rulingia.com added a project: portmgr.
jashank_rulingia.com edited edge metadata.
  • '${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.