config/path: redirect output less often

This commit is contained in:
MilhouseVH 2018-12-18 03:43:28 +00:00
parent 3af5245e11
commit c419751278

View File

@ -151,8 +151,12 @@ fi
VERSION_SUFFIX=$TARGET_ARCH
SILENT_OUT=3
VERBOSE_OUT=4
# redirect formatted output
if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
export BUILD_INDENT_SIZE=4
export SILENT_OUT=3
export VERBOSE_OUT=4
if [ "$VERBOSE" = yes ]; then
exec 3>&1
exec 4>&2
@ -160,7 +164,7 @@ else
exec 3>&2
exec 4>/dev/null
fi
BUILD_INDENT_SIZE=4
fi
# If sourcing a package, configure any package variables dependent on variables we have set
if [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ]; then