Skip to content

Commit

Permalink
mk: Any errors creating .pkginfo should be ignored.
Browse files Browse the repository at this point in the history
Resolves issues when bootstrapping without a suitable pkg_info
available, as the bootstrap pkg_info is unable to operate on binary
packages.  Fixes TritonDataCenter/pkgsrc-legacy#564
  • Loading branch information
Jonathan Perkin committed Jan 4, 2022
1 parent 0f5d591 commit a57a86b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mk/pkgformat/pkg/package.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ ${PKGFILE}: ${STAGE_PKGFILE}

${PKGINFOFILE}: ${PKGFILE}
${RUN} ${MKDIR} ${.TARGET:H}; \
${PKG_INFO} -X ${PKGFILE} >${.TARGET}
${PKG_INFO} -X ${PKGFILE} >${.TARGET} 2>/dev/null || ${TRUE}
.endif

######################################################################
Expand Down

0 comments on commit a57a86b

Please sign in to comment.