From d083ed1568b1a85f5f8eb05857ddf74dd625385d Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 5 Jun 1999 20:32:17 +0000 Subject: Fix build when suexec feature is not activated. --- www/apache/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'www/apache') diff --git a/www/apache/Makefile b/www/apache/Makefile index f7b92cc7d46..45001f239b0 100644 --- a/www/apache/Makefile +++ b/www/apache/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 1999/05/11 20:26:23 tron Exp $ +# $NetBSD: Makefile,v 1.35 1999/06/05 20:32:17 tron Exp $ # # The fourth number in the PKGNAME version indicates a NetBSD pkg revision # (to indicate changes in the shipped third party patches such as the mod_ssl @@ -90,7 +90,9 @@ post-install: ${MKDIR} ${PREFIX}/lib/httpd @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} .for FILE in man/man8/suexec.8 sbin/suexec - @${TEST} -e ${PREFIX}/${FILE} && ${ECHO} ${FILE} >>${PLIST_SRC} + @if [ -e ${PREFIX}/${FILE} ]; then \ + ${ECHO} ${FILE} >>${PLIST_SRC}; \ + fi .endfor .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3