From fc5a5dbcaa70567845e6d35ec7a8ea95af4bccbb Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Tue, 14 Jan 1997 06:16:24 +0000 Subject: Better method to test if make is run with BATCH defined. --- net/cap/scripts/configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net/cap') diff --git a/net/cap/scripts/configure b/net/cap/scripts/configure index b34e8b5a922b..f28746bf5489 100644 --- a/net/cap/scripts/configure +++ b/net/cap/scripts/configure @@ -1,5 +1,5 @@ #!/bin/sh -if [ -z ${BATCH} ]; then +if [ X"${BATCH}" != X"yes" ]; then echo "This port comes with reasonable defaults as follows:" echo " Native Ethertalk with Phase 2 compatibility." echo " Critical AUFS stat() calls to be cached. (STAT_CACHE)" @@ -24,7 +24,7 @@ if [ -z ${BATCH} ]; then echo "===> Copying custom m4.features file." cp ${FILESDIR}/m4.features ${WRKSRC} -if [ -z ${BATCH} ]; then +if [ X"${BATCH}" != X"yes" ]; then (cd ${WRKSRC}; ./Configure) else sed -e s+@CWD@+${WRKSRC}+ -e s+@PREFIX@+${PREFIX}+ \ -- cgit v1.2.3