make BATCH mode possible

bug reported by:	Satoshi
This commit is contained in:
Andreas Klemm 1999-11-12 17:49:21 +00:00
parent b8e07e4318
commit 7ccecc00f0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23044
2 changed files with 16 additions and 2 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
# runs if BATCH is NOT defined
if [ "$BATCH" != "yes" ]; then
#
# configure - apsfilter package dependency configuration
@ -128,6 +128,13 @@ while [ "$1" ]; do
shift
done
fi # if $BATCH
# if batch, then start creating Makefile.inc here
if [ "$BATCH" = "yes" ]; then
/bin/mkdir -p ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
fi
echo "post-install:"
echo " @\${MKDIR} ${PREFIX}/apsfilter/filter"
echo " @touch ${PREFIX}/apsfilter/filter/.keep_me"

View File

@ -2,7 +2,7 @@
# $FreeBSD$
# runs if BATCH is NOT defined
if [ "$BATCH" != "yes" ]; then
#
# configure - apsfilter package dependency configuration
@ -128,6 +128,13 @@ while [ "$1" ]; do
shift
done
fi # if $BATCH
# if batch, then start creating Makefile.inc here
if [ "$BATCH" = "yes" ]; then
/bin/mkdir -p ${WRKDIRPREFIX}${CURDIR}
exec > ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
fi
echo "post-install:"
echo " @\${MKDIR} ${PREFIX}/apsfilter/filter"
echo " @touch ${PREFIX}/apsfilter/filter/.keep_me"