Removed some extra code that I had added years ago (bsd.pkg.mk 1.1610)

when pkg_create didn't print an error message on failure. If that should
ever happen again, we should fix pkg_create instead of adding code here.
This commit is contained in:
rillig 2007-11-07 17:30:01 +00:00
parent c2c24d424f
commit 333ce170ee

View file

@ -1,4 +1,4 @@
# $NetBSD: package.mk,v 1.11 2007/09/07 17:01:10 rillig Exp $
# $NetBSD: package.mk,v 1.12 2007/11/07 17:30:01 rillig Exp $
PKG_SUFX?= .tgz
PKGFILE?= ${PKGREPOSITORY}/${PKGNAME}${PKG_SUFX}
@ -40,12 +40,7 @@ _PKG_ARGS_PACKAGE+= -E
${PKGFILE}: ${_CONTENTS_TARGETS}
${RUN} ${MKDIR} ${.TARGET:H}
${RUN} ${PKG_CREATE} ${_PKG_ARGS_PACKAGE} ${.TARGET} || { \
exitcode=$$?; \
${ERROR_MSG} "${PKG_CREATE:T} failed ($$exitcode)"; \
${RM} -f ${.TARGET}; \
exit 1; \
}
${RUN} ${PKG_CREATE} ${_PKG_ARGS_PACKAGE} ${.TARGET}
######################################################################
### package-remove (PRIVATE)