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
parent 36f628910b
commit b77fd0d30b

View File

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