Better method to test if make is run with BATCH defined.

This commit is contained in:
Masafumi Max NAKANE 1997-01-14 06:16:24 +00:00
parent 5284ac1c89
commit fc5a5dbcaa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=5348

View File

@ -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}+ \