From dc241e9ae4e97ff7f0295de989d19adc8d66dafe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20M=C3=BCller?= Date: Thu, 13 Jun 2019 21:39:47 +0200 Subject: [PATCH] [util-iso.sh] fix last commit --- lib/util-iso.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util-iso.sh b/lib/util-iso.sh index 0687527..3dc0e92 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -249,7 +249,7 @@ function seed_snaps() { # Preseeded snaps should be downloaded from a versioned channel rm -rfv "$1/${SEED_DIR}" - unset SEED_LIST + SEED_LIST=() # Download the published snaps and their related assert files # Runs inside the container @@ -261,7 +261,7 @@ function seed_snaps() { msg2 "Installing snap: %s" ${SEED_SNAP} chroot-run $1 snap download --channel="${SEED_CHANNEL}" "${SEED_SNAP}" fi - SEED_LIST=$(${SEED_LIST} --snap=${SEED_SNAP}=${SEED_CHANNEL} + SEED_LIST+=("--snap=${SEED_SNAP}=${SEED_CHANNEL}") done # Move snaps and seertions to the correct place