mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
config/path: redirect output less often
This commit is contained in:
parent
3af5245e11
commit
c419751278
22
config/path
22
config/path
@ -151,16 +151,20 @@ fi
|
|||||||
|
|
||||||
VERSION_SUFFIX=$TARGET_ARCH
|
VERSION_SUFFIX=$TARGET_ARCH
|
||||||
|
|
||||||
SILENT_OUT=3
|
# redirect formatted output
|
||||||
VERBOSE_OUT=4
|
if [ -z "${SILENT_OUT}" -a -z "${VERBOSE_OUT}" ]; then
|
||||||
if [ "$VERBOSE" = yes ]; then
|
export BUILD_INDENT_SIZE=4
|
||||||
exec 3>&1
|
export SILENT_OUT=3
|
||||||
exec 4>&2
|
export VERBOSE_OUT=4
|
||||||
else
|
|
||||||
exec 3>&2
|
if [ "$VERBOSE" = yes ]; then
|
||||||
exec 4>/dev/null
|
exec 3>&1
|
||||||
|
exec 4>&2
|
||||||
|
else
|
||||||
|
exec 3>&2
|
||||||
|
exec 4>/dev/null
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
BUILD_INDENT_SIZE=4
|
|
||||||
|
|
||||||
# If sourcing a package, configure any package variables dependent on variables we have set
|
# 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
|
if [ -n "$PKG_DIR" -a -r $PKG_DIR/package.mk ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user