mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/path: redirect output less often
This commit is contained in:
parent
3af5245e11
commit
c419751278
10
config/path
10
config/path
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user