diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-12-04 18:32:39 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-12-04 18:32:39 +0000 |
commit | a749338c265043194580d961670000843f825c6e (patch) | |
tree | 957857663626ba639da59cea09c625b8df89f1da /tools | |
parent | 2ffafbd8c7442c96c4df0c5c5bda217139d58ece (diff) | |
download | FreeBSD-src-a749338c265043194580d961670000843f825c6e.zip FreeBSD-src-a749338c265043194580d961670000843f825c6e.tar.gz |
MFC r290435:
Don't allow environment-set options to bleed into src.conf.5 generation.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/build/options/makeman | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/build/options/makeman b/tools/build/options/makeman index 0491bed..7168c82 100755 --- a/tools/build/options/makeman +++ b/tools/build/options/makeman @@ -33,7 +33,7 @@ show_options() ALL_TARGETS=$(echo $(${make} targets | tail -n +2)) rm -f $t/settings for target in ${ALL_TARGETS} ; do - ${make} showconfig \ + env -i ${make} showconfig \ SRCCONF=/dev/null __MAKE_CONF=/dev/null \ TARGET_ARCH=${target#*/} TARGET=${target%/*} | while read var _ val ; do @@ -96,7 +96,7 @@ show() exit 1 ;; esac - ${make} "$@" showconfig __MAKE_CONF=/dev/null | + env -i ${make} "$@" showconfig __MAKE_CONF=/dev/null | while read var _ val ; do opt=${var#MK_} case ${val} in |