diff options
author | max <max@FreeBSD.org> | 1997-01-14 14:16:24 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-01-14 14:16:24 +0800 |
commit | b087334979360d641cbf20e47be669296d8952d2 (patch) | |
tree | 85c958e764cffcc21b9a6b35e5bf3a00823459cd /net/cap | |
parent | 3649dfa1d8f355bf2a762b1e74d1bac1d4595966 (diff) | |
download | freebsd-ports-gnome-b087334979360d641cbf20e47be669296d8952d2.tar.gz freebsd-ports-gnome-b087334979360d641cbf20e47be669296d8952d2.tar.zst freebsd-ports-gnome-b087334979360d641cbf20e47be669296d8952d2.zip |
Better method to test if make is run with BATCH defined.
Diffstat (limited to 'net/cap')
-rw-r--r-- | net/cap/scripts/configure | 4 |
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}+ \ |