summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-03-17 19:45:05 +0000
committerphk <phk@FreeBSD.org>2005-03-17 19:45:05 +0000
commit5f50d150def880157e0eff1b72d69d5d6ec20699 (patch)
tree37306f86ef398abbe75bed5709a2c37776d0d69c
parentc9756266e6b967dfffc064df02a31fe808a203b1 (diff)
downloadFreeBSD-src-5f50d150def880157e0eff1b72d69d5d6ec20699.zip
FreeBSD-src-5f50d150def880157e0eff1b72d69d5d6ec20699.tar.gz
I keep forgetting that I wanted the customize logs collected too.
Reminded by: Lennart Sorth, Andrea Campi and others.
-rw-r--r--tools/tools/nanobsd/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/tools/nanobsd/Makefile b/tools/tools/nanobsd/Makefile
index 30c0e75..866dc1b 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
###########################################################################
#
OpenPOWER on IntegriCloud