summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <olaf@aepfle.de>2023-05-17 05:57:22 +0000
committerStefano Stabellini <stefano.stabellini@amd.com>2023-05-17 16:14:27 -0700
commit753d903a6f2d1e68d98487d36449b5739c28d65a (patch)
tree8d1e0a65a2bc1a039fe785cbff620befc54910a3
parent816d2797468dbcc8a3d23f67592b06929f67b2ab (diff)
downloadxen-staging.tar.gz
automation: allow to rerun build scriptstagingsmoke
Calling build twice in the same environment will fail because the directory 'binaries' was already created before. Use mkdir -p to ignore an existing directory and move on to the actual build. Signed-off-by: Olaf Hering <olaf@aepfle.de> Acked-by: Stefano Stabellini <sstabellini@kernel.org>
-rwxr-xr-xautomation/scripts/build2
1 files changed, 1 insertions, 1 deletions
diff --git a/automation/scripts/build b/automation/scripts/build
index 197d085f3e..9085cba352 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -36,7 +36,7 @@ fi
cp xen/.config xen-config
# Directory for the artefacts to be dumped into
-mkdir binaries
+mkdir -p binaries
if [[ "${CPPCHECK}" == "y" ]] && [[ "${HYPERVISOR_ONLY}" == "y" ]]; then
# Cppcheck analysis invokes Xen-only build.