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 Apr 7, 2020
1 parent 417c5c4 commit b0445e8
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 @@ -72,7 +72,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 b0445e8

Please sign in to comment.