summaryrefslogtreecommitdiff
path: root/www/mod_php5/scripts/configure.php
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-08-30 10:56:07 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-08-30 10:56:07 +0000
commit6ac4aad38f82dd650bf32ac1e3a0aaf9587e7212 (patch)
tree81c032a556c45ea1d2945080744634e53b5cb35d /www/mod_php5/scripts/configure.php
parentMark this port broken, bison is barfing on at least monitor1.y . (diff)
Make sure directory ${WRKDIRPREFIX}${CURDIR} exists before
touching files in that directory. Problem only occurs when ${WRKDIRPREFIX} is set. Found by: bento.freebsd.org
Notes
Notes: svn path=/head/; revision=21119
Diffstat (limited to '')
-rw-r--r--www/mod_php5/scripts/configure.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/mod_php5/scripts/configure.php b/www/mod_php5/scripts/configure.php
index b47d631fe964..f8413f6948a6 100644
--- a/www/mod_php5/scripts/configure.php
+++ b/www/mod_php5/scripts/configure.php
@@ -1,6 +1,7 @@
#!/bin/sh
if [ "${BATCH}" ]; then
+ ${MKDIR} ${WRKDIRPREFIX}${CURDIR}
${TOUCH} ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
exit
fi
@@ -46,7 +47,7 @@ case $retval in
;;
esac
-mkdir -p ${WRKDIRPREFIX}${CURDIR}
+${MKDIR} ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
while [ "$1" ]; do