[util-iso.sh] fix folder creation for snap seed

This commit is contained in:
Philip Müller 2019-06-13 22:05:28 +02:00
parent c2a1af3b61
commit 07742ab6e4

View file

@ -248,7 +248,8 @@ function seed_snaps() {
if [[ -n "${strict_snaps}" ]] || [[ -n "${classic_snaps}" ]]; then
# Preseeded snaps should be downloaded from a versioned channel
rm -rfv "$1/${SEED_DIR}"
mkdir -p "$1/${SEED_DIR}"
mkdir -p "$1/${SEED_DIR}/snaps"
mkdir -p "$1/${SEED_DIR}/assertions"
SEED_LIST=()
# Download the published snaps and their related assert files