]> git.proxmox.com Git - mirror_lxc.git/commitdiff
lxc-oci: mkdir the download directory
authorFelix Abecassis <fabecassis@nvidia.com>
Wed, 18 Apr 2018 21:12:55 +0000 (14:12 -0700)
committerFelix Abecassis <fabecassis@nvidia.com>
Wed, 18 Apr 2018 21:12:55 +0000 (14:12 -0700)
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
templates/lxc-oci.in

index d4fef193e56e0828864a4126012cdc335a3d4d94..2ce1a9385aa574cf6d6dd557e7bced95610d7da4 100644 (file)
@@ -264,6 +264,7 @@ if [ "${OCI_USE_CACHE}" = "true" ]; then
 else
   DOWNLOAD_BASE=/tmp
 fi
+mkdir -p "${DOWNLOAD_BASE}"
 
 # Trap all exit signals
 trap cleanup EXIT HUP INT TERM