From d46b8f14aa69bc6bc35c584972a582c7f989c59c Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Fri, 8 Feb 2019 17:17:43 +0000 Subject: [PATCH] config/path: VERBOSE_OUT/SILENT_OUT - drop export, need to exec for every parallel process --- config/path | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/config/path b/config/path index 98b8e919f9..134f7ca15a 100644 --- a/config/path +++ b/config/path @@ -84,18 +84,16 @@ fi VERSION_SUFFIX=$TARGET_ARCH # 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 +export BUILD_INDENT_SIZE=4 +SILENT_OUT=3 +VERBOSE_OUT=4 - if [ "$VERBOSE" = yes ]; then - exec 3>&1 - exec 4>&1 - else - exec 3>&2 - exec 4>/dev/null - fi +if [ "$VERBOSE" = yes ]; then + exec 3>&1 + exec 4>&1 +else + exec 3>&2 + exec 4>/dev/null fi unset LD_LIBRARY_PATH