From f92ee6937c0984ea6b6e0a9befe1be558e661c01 Mon Sep 17 00:00:00 2001 From: Qi Luo Date: Thu, 15 Dec 2016 18:16:47 -0800 Subject: [PATCH] Add mkdir if the target dir does not exist (#130) --- get_docker-base.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/get_docker-base.sh b/get_docker-base.sh index c417ca12c1..ff2bdeaff0 100755 --- a/get_docker-base.sh +++ b/get_docker-base.sh @@ -16,5 +16,6 @@ BASE_URL="https://sonicstorage.blob.core.windows.net/packages/docker-base.ea5077 base_image_name=docker-base docker_try_rmi $base_image_name +mkdir -p $TARGET_PATH wget --no-use-server-timestamps -O $TARGET_PATH/$base_image_name.gz "$BASE_URL" docker load < $TARGET_PATH/$base_image_name.gz