summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-05-27 10:52:03 +0000
committerru <ru@FreeBSD.org>2002-05-27 10:52:03 +0000
commit06d0707126dd688c94d2ffa08a3dd3e968b29267 (patch)
treee6232047c6bb0c18fc337d85dc28c6d4ac5a3c71
parent496e86d41ba5afd08129c74e2d3c6aa0163133dd (diff)
downloadFreeBSD-src-06d0707126dd688c94d2ffa08a3dd3e968b29267.zip
FreeBSD-src-06d0707126dd688c94d2ffa08a3dd3e968b29267.tar.gz
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.
-rw-r--r--release/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 2aad694..4c994ce 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -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 && \
OpenPOWER on IntegriCloud