base-files: ensure VERBOSE is set

If not set, it shows the following error
sh: out of range

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2019-11-13 18:13:13 +01:00 committed by CN_SZTL
parent 380519a5fd
commit e91175b592
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -62,7 +62,7 @@ ask_bool() {
}
v() {
[ "$VERBOSE" -ge 1 ] && echo "$@"
[ -n "$VERBOSE" ] && [ "$VERBOSE" -ge 1 ] && echo "$@"
}
json_string() {