[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] automation: allow to rerun build script



commit 753d903a6f2d1e68d98487d36449b5739c28d65a
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Wed May 17 05:57:22 2023 +0000
Commit:     Stefano Stabellini <stefano.stabellini@xxxxxxx>
CommitDate: Wed May 17 16:14:27 2023 -0700

    automation: allow to rerun build script
    
    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@xxxxxxxxx>
    Acked-by: Stefano Stabellini <sstabellini@xxxxxxxxxx>
---
 automation/scripts/build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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.
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.