From 5f673b316faeb8959368966bf1290c2bfb959d87 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Thu, 17 Mar 2005 19:45:05 +0000 Subject: [PATCH] I keep forgetting that I wanted the customize logs collected too. Reminded by: Lennart Sorth, Andrea Campi and others. --- tools/tools/nanobsd/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tools/tools/nanobsd/Makefile b/tools/tools/nanobsd/Makefile index 30c0e75b114..866dc1bc371 100644 --- a/tools/tools/nanobsd/Makefile +++ b/tools/tools/nanobsd/Makefile @@ -71,16 +71,18 @@ all: buildworld installworld buildimage # Customize: _.cs _.cs: _.iw _.di _.ik _.di + rm -f _.cs.tmp + touch _.cs.tmp .for cust in ${CUSTOMIZE} .if exists(${.CURDIR}/Customize/${${cust}}) - sh -e ${.CURDIR}/Customize/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} + sh -e ${.CURDIR}/Customize/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1 .elif exists(${.CURDIR}/${${cust}}) - sh -e ${.CURDIR}/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} + sh -e ${.CURDIR}/${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1 .else - sh -e ${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} + sh -e ${cust} ${WD} ${WORLDDIR} ${.CURDIR} ${CUSTOMIZE_ARGS} >> _.cs.tmp 2>&1 .endif .endfor - touch _.cs + mv _.cs.tmp _.cs ########################################################################### #