Debug output to stderr
This commit is contained in:
parent
ae99de5876
commit
ae8b5ae27e
2
ghcup
2
ghcup
@ -506,7 +506,7 @@ emake() { # avoid re-checking for gmake
|
|||||||
# Print a blue debug message if verbosity is enabled.
|
# Print a blue debug message if verbosity is enabled.
|
||||||
debug_message() {
|
debug_message() {
|
||||||
if ${VERBOSE} ; then
|
if ${VERBOSE} ; then
|
||||||
printf "\\033[0;34m%s\\033[0m\\n" "$1"
|
(>&2 printf "\\033[0;34m%s\\033[0m\\n" "$1")
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user