common/xbps-src/shutils: add function for printing verbose messages
This commit is contained in:
parent
bdf562aa27
commit
b3c54d73af
2 changed files with 17 additions and 22 deletions
|
@ -188,6 +188,12 @@ msg_normal() {
|
|||
fi
|
||||
}
|
||||
|
||||
msg_verbose() {
|
||||
if [ -n "$XBPS_VERBOSE" ]; then
|
||||
printf >&2 "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
report_broken() {
|
||||
if [ "$show_problems" = "ignore-problems" ]; then
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue