diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-01-14 06:16:24 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-01-14 06:16:24 +0000 |
commit | fc5a5dbcaa70567845e6d35ec7a8ea95af4bccbb (patch) | |
tree | 0fbdfd11a7c5fddc9b4a35f11728840b7c35b8f9 /net | |
parent | Upgrade 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')
-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}+ \ |