mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
I keep forgetting that I wanted the customize logs collected too.
Reminded by: Lennart Sorth, Andrea Campi and others.
This commit is contained in:
parent
a7b66eb1ae
commit
5f673b316f
1 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue