Missing SUDO in reinstall target for fake ports.

This commit is contained in:
espie 2000-06-09 20:59:46 +00:00
parent 6adeb2e642
commit 8ec35a8628

View File

@ -1,6 +1,6 @@
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4 sw=4 filetype=make:
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.297 2000/06/09 19:34:31 espie Exp $$
FULL_REVISION=$$OpenBSD: bsd.port.mk,v 1.298 2000/06/09 20:59:46 espie Exp $$
# $FreeBSD: bsd.port.mk,v 1.264 1996/12/25 02:27:44 imp Exp $
# $NetBSD: bsd.port.mk,v 1.62 1998/04/09 12:47:02 hubertf Exp $
#
@ -1948,7 +1948,7 @@ checkpatch:
.if !target(reinstall)
reinstall:
@rm -f ${_INSTALL_PRE_COOKIE} ${_INSTALL_COOKIE} ${_PACKAGE_COOKIE}
@${SUDO} rm -f ${_INSTALL_PRE_COOKIE} ${_INSTALL_COOKIE} ${_PACKAGE_COOKIE}
@cd ${.CURDIR} && DEPENDS_TARGET=${DEPENDS_TARGET} exec ${MAKE} install
.endif