diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2001-04-16 11:50:14 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2001-04-16 11:50:14 +0000 |
commit | f6cb2453c0ac198edd5773d3a0c677fb4ec6f539 (patch) | |
tree | e0264e26f713e0f0dc759713616de9f9e98efa8c /www/mod_php3 | |
parent | 199f814e16a85e7a3c819308899b68b920850f20 (diff) | |
download | ports-f6cb2453c0ac198edd5773d3a0c677fb4ec6f539.tar.gz ports-f6cb2453c0ac198edd5773d3a0c677fb4ec6f539.zip |
Notes
Diffstat (limited to 'www/mod_php3')
-rw-r--r-- | www/mod_php3/scripts/configure.php | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/www/mod_php3/scripts/configure.php b/www/mod_php3/scripts/configure.php index b09c72ded1d5..5e7cad763a09 100644 --- a/www/mod_php3/scripts/configure.php +++ b/www/mod_php3/scripts/configure.php @@ -5,6 +5,8 @@ if [ -f ${WRKDIRPREFIX}${REALCURDIR}/Makefile.inc ]; then exit fi +tempfile=`/usr/bin/mktemp -t checklist` + if [ "${BATCH}" ]; then set \"zlib\" \"MySQL\" else @@ -32,14 +34,14 @@ gettext "gettext library support" OFF \ YP "YP/NIS support" OFF \ sysvsem "System V semaphore support" OFF \ sysvshm "System V shared memory support" OFF \ -2> /tmp/checklist.tmp.$$ +2> $tempfile retval=$? - if [ -s /tmp/checklist.tmp.$$ ]; then - set `cat /tmp/checklist.tmp.$$` + if [ -s $tempfile ]; then + set `cat $tempfile` fi - rm -f /tmp/checklist.tmp.$$ + rm -f $tempfile case $retval in 0) if [ -z "$*" ]; then |