]> git.proxmox.com Git - mirror_lxc.git/commitdiff
templates/lxc-download.in: make shellcheck happy
authorJohannes Kastl <kastl@b1-systems.de>
Tue, 30 Jun 2020 16:55:15 +0000 (18:55 +0200)
committerJohannes Kastl <kastl@b1-systems.de>
Tue, 30 Jun 2020 17:18:21 +0000 (19:18 +0200)
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
templates/lxc-download.in

index f69b18fd42f7172274015287857035426bd78b04..fbfca32bcc3304adea56523661be491c396b4ad3 100644 (file)
@@ -327,7 +327,7 @@ if ! command -V mktemp >/dev/null 2>&1; then
   DOWNLOAD_TEMP="${DOWNLOAD_TEMP}/tmp/lxc-download.$$"
 elif [ -n "${DOWNLOAD_TEMP}" ]; then
   mkdir -p "${DOWNLOAD_TEMP}"
-  DOWNLOAD_TEMP="$(mktemp -p ${DOWNLOAD_TEMP} -d)"
+  DOWNLOAD_TEMP="$(mktemp -p "${DOWNLOAD_TEMP}" -d)"
 else
   DOWNLOAD_TEMP="${DOWNLOAD_TEMP}$(mktemp -d)"
 fi