mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-02-20 17:12:55 +00:00
Correctly handle the log level overide in scripts/tarball.sh.
This commit is contained in:
parent
ae1d546378
commit
ed8b7c0bab
@ -12,11 +12,6 @@
|
||||
exec 6>&1
|
||||
exec >/dev/null
|
||||
|
||||
# Override log level
|
||||
unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG
|
||||
CT_LOG_INFO=y
|
||||
CT_LOG_LEVEL_MAX="INFO"
|
||||
|
||||
# Parse the configuration file:
|
||||
. ${CT_TOP_DIR}/.config
|
||||
|
||||
@ -26,6 +21,11 @@ CT_DoBuildTargetTriplet
|
||||
# re-parse them:
|
||||
. "${CT_TOP_DIR}/.config"
|
||||
|
||||
# Override log level
|
||||
unset CT_LOG_ERROR CT_LOG_WARN CT_LOG_EXTRA CT_LOG_DEBUG
|
||||
CT_LOG_INFO=y
|
||||
CT_LOG_LEVEL_MAX="INFO"
|
||||
|
||||
# Build the files' base names
|
||||
CT_KERNEL_FILE="${CT_KERNEL}-${CT_KERNEL_VERSION}"
|
||||
CT_BINUTILS_FILE="binutils-${CT_BINUTILS_VERSION}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user