aboutsummaryrefslogtreecommitdiffstats
path: root/resources/tools/disk-image-builder/nested/build.sh
diff options
context:
space:
mode:
authorCarsten Koester <ckoester@cisco.com>2016-06-11 16:21:10 -0400
committerDave Wallace <dwallacelf@gmail.com>2016-06-19 02:08:11 +0000
commitd60c62fdcf6d088b7a2769ebfc25d42154864878 (patch)
tree8adf24d3a2099934ffd615b128873562adf8d7a9 /resources/tools/disk-image-builder/nested/build.sh
parentf08e8cf324861a754388a063fbaaf4e33f10d480 (diff)
CSIT-155: Create empty Nested VM build directory if needed
Change-Id: I760fee3ce1c86ae443930b7763727328fecd8250 Signed-off-by: Carsten Koester <ckoester@cisco.com>
Diffstat (limited to 'resources/tools/disk-image-builder/nested/build.sh')
-rwxr-xr-xresources/tools/disk-image-builder/nested/build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/tools/disk-image-builder/nested/build.sh b/resources/tools/disk-image-builder/nested/build.sh
index 7eddd64052..88b444b67d 100755
--- a/resources/tools/disk-image-builder/nested/build.sh
+++ b/resources/tools/disk-image-builder/nested/build.sh
@@ -46,6 +46,8 @@ then
exit 1
fi
+mkdir -p ${BUILD_DIR}
+
echo Building version: ${VERSION}
echo $VERSION > ${BUILD_DIR}/VERSION
echo "NESTED_VERSION=${VERSION}" > ${BUILD_DIR}/VERSION_HIDDEN