svn commit: r275180 - head/tools/tools/nanobsd
Nick Hibma
n_hibma at FreeBSD.org
Thu Nov 27 09:17:42 UTC 2014
Author: n_hibma
Date: Thu Nov 27 09:17:42 2014
New Revision: 275180
URL: https://svnweb.freebsd.org/changeset/base/275180
Log:
clean_build is not always done (*), so move the mkdir to the first step
that needs it and is always done: make.conf build.
(*) In our build environment we actually never do a clean build unless
instructed to do so, to make sure we do not accidentally delete the
built world when on a tight schedule.
Modified:
head/tools/tools/nanobsd/nanobsd.sh
Modified: head/tools/tools/nanobsd/nanobsd.sh
==============================================================================
--- head/tools/tools/nanobsd/nanobsd.sh Thu Nov 27 08:41:31 2014 (r275179)
+++ head/tools/tools/nanobsd/nanobsd.sh Thu Nov 27 09:17:42 2014 (r275180)
@@ -213,13 +213,14 @@ clean_build ( ) (
chflags -R noschg ${MAKEOBJDIRPREFIX}/
nano_rm -r ${MAKEOBJDIRPREFIX}/
fi
- mkdir -p ${MAKEOBJDIRPREFIX}
- printenv > ${MAKEOBJDIRPREFIX}/_.env
)
make_conf_build ( ) (
pprint 2 "Construct build make.conf ($NANO_MAKE_CONF_BUILD)"
+ mkdir -p ${MAKEOBJDIRPREFIX}
+ printenv > ${MAKEOBJDIRPREFIX}/_.env
+
echo "${CONF_WORLD}" > ${NANO_MAKE_CONF_BUILD}
echo "${CONF_BUILD}" >> ${NANO_MAKE_CONF_BUILD}
)
More information about the svn-src-all
mailing list