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 1, 2019
1 parent 797d34c commit 2e81cec
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 2e81cec

Please sign in to comment.