summaryrefslogtreecommitdiff
path: root/net/cap
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-01-14 06:16:24 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-01-14 06:16:24 +0000
commitfc5a5dbcaa70567845e6d35ec7a8ea95af4bccbb (patch)
tree0fbdfd11a7c5fddc9b4a35f11728840b7c35b8f9 /net/cap
parentUpgrade to ISC DHCP 5.14 (diff)
Better method to test if make is run with BATCH defined.
Notes
Notes: svn path=/head/; revision=5348
Diffstat (limited to 'net/cap')
-rw-r--r--net/cap/scripts/configure4
1 files changed, 2 insertions, 2 deletions
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}+ \