From 8d0c2f7d7cf7526397b9cdb3523e4ae5893f259e Mon Sep 17 00:00:00 2001 From: agc Date: Wed, 17 Jul 2002 13:17:21 +0000 Subject: Make sure that we check whether we check whether the distfiles exist first in BATCH mode. --- parallel/glunix/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'parallel/glunix') diff --git a/parallel/glunix/Makefile b/parallel/glunix/Makefile index 411b0508d31..aabad41e8aa 100644 --- a/parallel/glunix/Makefile +++ b/parallel/glunix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2002/07/02 11:39:46 agc Exp $ +# $NetBSD: Makefile,v 1.24 2002/07/17 13:17:21 agc Exp $ DISTNAME= glunix-release-1-0a PKGNAME= glunix-1.0a @@ -46,7 +46,11 @@ USER_CMD= ${LOCALBASE}/sbin/user GROUP_CMD= ${LOCALBASE}/sbin/group .endif -pre-fetch: +.if defined(BATCH) +BATCH_CHECK_DISTFILES= batch-check-distfiles +.endif + +pre-fetch: ${BATCH_CHECK_DISTFILES} cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/pre-fetch post-patch: -- cgit v1.2.3