Fixed the nasty bug I introduced in rev. 1.671 that got

fatal in the previous delta.  Repeat after me: exists()
is executed at parse time.
This commit is contained in:
Ruslan Ermilov 2002-05-27 10:52:03 +00:00
parent 7ed61facaa
commit 2efba2d1d7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97343

View File

@ -934,9 +934,8 @@ doMFSKERN:
${CROSSMAKE} ${KERNEL_FLAGS} -DNO_WERROR -DNO_MODULES -DNO_KERNELCLEAN \
KERNCONF=BOOTMFS buildkernel reinstallkernel \
DESTDIR=${RD}/kernels
.if exists(${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints)
[ -r ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints ] && \
cp ${.CURDIR}/../sys/${TARGET}/conf/BOOTMFS.hints ${RD}/kernels
.endif
@rm -rf ${RD}/image.${FSIMAGE}
@mkdir ${RD}/image.${FSIMAGE}
@cd ${RD}/kernels && \