config/path: VERBOSE_OUT/SILENT_OUT - drop export, need to exec for every parallel process

This commit is contained in:
MilhouseVH 2019-02-08 17:17:43 +00:00
parent 6fc4c091f7
commit d46b8f14aa

View File

@ -84,10 +84,9 @@ fi
VERSION_SUFFIX=$TARGET_ARCH VERSION_SUFFIX=$TARGET_ARCH
# redirect formatted output # redirect formatted output
if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
export BUILD_INDENT_SIZE=4 export BUILD_INDENT_SIZE=4
export SILENT_OUT=3 SILENT_OUT=3
export VERBOSE_OUT=4 VERBOSE_OUT=4
if [ "$VERBOSE" = yes ]; then if [ "$VERBOSE" = yes ]; then
exec 3>&1 exec 3>&1
@ -96,7 +95,6 @@ if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
exec 3>&2 exec 3>&2
exec 4>/dev/null exec 4>/dev/null
fi fi
fi
unset LD_LIBRARY_PATH unset LD_LIBRARY_PATH