Not only deleting the package and package links, also exit with status

1 if pkg_create returns error!
This commit is contained in:
Satoshi Asami 1995-05-12 07:43:48 +00:00
parent fba225d3b0
commit b5e33d67f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1686

View file

@ -3,7 +3,7 @@
# bsd.port.mk - 940820 Jordan K. Hubbard. # bsd.port.mk - 940820 Jordan K. Hubbard.
# This file is in the public domain. # This file is in the public domain.
# #
# $Id: bsd.port.mk,v 1.157 1995/05/10 09:30:09 asami Exp $ # $Id: bsd.port.mk,v 1.158 1995/05/12 07:32:59 asami Exp $
# #
# Please view me with 4 column tabs! # Please view me with 4 column tabs!
@ -951,6 +951,7 @@ do-package:
fi; \ fi; \
else \ else \
${MAKE} ${.MAKEFLAGS} delete-package; \ ${MAKE} ${.MAKEFLAGS} delete-package; \
exit 1; \
fi; \ fi; \
fi fi
.endif .endif