Update debug mode detection
This commit is contained in:
parent
0107e4b819
commit
346e0fae5a
1 changed files with 6 additions and 1 deletions
|
@ -58,6 +58,11 @@ special " _/ |___/\\__|_| |_| |_| |_|\\_\\___|_| |_| |_|\\___|_| \\___
|
|||
special "|__/ |_|"
|
||||
empty
|
||||
|
||||
# Print debug info warning
|
||||
if [ -n "${BUILDTOOL_DEBUG}" ]; then
|
||||
warnh "Debug mode is enabled"
|
||||
fi
|
||||
|
||||
# Checks
|
||||
## Check for Arch Linux
|
||||
(
|
||||
|
@ -357,7 +362,7 @@ fi
|
|||
cd "${BUILDTOOL_CLONEDIR}"
|
||||
|
||||
# Print debug information
|
||||
if [ "${BUILDTOOL_DEBUG}" == "true" ]; then
|
||||
if [ -n "${BUILDTOOL_DEBUG}" ]; then
|
||||
infoh "Printing debug information"
|
||||
echo "+++ env +++"
|
||||
env|grep "BUILDTOOL_"|sort
|
||||
|
|
Loading…
Reference in a new issue