Skip to content

Commit

Permalink
Do not abort on exit code 1 from postinstall check, this is expected.
Browse files Browse the repository at this point in the history
Reported, fix suggested and tested by David Holland.

(Why does "make build" invoke postinstall check on destdir is another
question, it does not seem to have much sense.)
  • Loading branch information
pavel committed Oct 7, 2007
1 parent 563770d commit f561666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.249 2007/09/07 04:20:44 lukem Exp $
# $NetBSD: Makefile,v 1.250 2007/10/07 16:35:21 pavel Exp $

#
# This is the top-level makefile for building NetBSD. For an outline of
Expand Down Expand Up @@ -158,7 +158,7 @@ _POSTINSTALL= ${.CURDIR}/usr.sbin/postinstall/postinstall

postinstall-check: .PHONY
@echo " === Post installation checks ==="
${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check
${HOST_SH} ${_POSTINSTALL} -s ${.CURDIR} -d ${DESTDIR}/ check; if [ $$? -gt 1 ]; then exit 1; fi
@echo " ================================"

postinstall-fix: .NOTMAIN .PHONY
Expand Down

0 comments on commit f561666

Please sign in to comment.