common/xbps-src/shutils: add function for printing verbose messages
This commit is contained in:

committed by
classabbyamp

parent
bdf562aa27
commit
b3c54d73af
@@ -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
|
||||
|
Reference in New Issue
Block a user