From a844c6f8cd56140f4896bf2ca9741d4fdd1e6e61 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Tue, 17 Apr 2018 22:01:47 -0400 Subject: [PATCH] Fix another unbound variable --- live-build/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/functions b/live-build/functions index 484e5046..ac4912f5 100644 --- a/live-build/functions +++ b/live-build/functions @@ -461,7 +461,7 @@ snap_prepare() { local CHROOT_ROOT=$1 # Optional. If set, should be a colon-separated string of brand:model to be # used for the image's model assertion - local CUSTOM_BRAND_MODEL=$2 + local CUSTOM_BRAND_MODEL=${2:-generic:generic-classic} snap_prepare_assertions "$CHROOT_ROOT" "$CUSTOM_BRAND_MODEL"