[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1] automation: allow to rerun build script
- To: xen-devel@xxxxxxxxxxxxxxxxxxxx
- From: Olaf Hering <olaf@xxxxxxxxx>
- Date: Wed, 17 May 2023 05:57:22 +0000
- Arc-authentication-results: i=1; strato.com; arc=none; dkim=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1684303045; s=strato-dkim-0002; d=strato.com; h=Message-Id:Date:Subject:Cc:To:From:Cc:Date:From:Subject:Sender; bh=Si4oKzEcLlw3G7OffbBr/cajuDCVeN0U6l5SUR78nAw=; b=AzW7el+eUWgRP9yjV4N2FbrHj4pQ6TSsLgUOhC/fbDto32rXB8ohUTapHshdcnWA8C af7MJXrmxDIcLT4tZm32srvRfkqgze6tyn9nEkPmDzosf/GnLQ5nDhQKLtAzimX6o6CH VyEcWNhz3VZ0mAxGUQNa7iB/QS7fgSr9m3Al3+PVdiE3dGtGxkBslt/SdhUsY+9jIlwV F30/Z8dt2qRXvgsaby/iiCAiQ+MBxePc8GIm/dpfYxGPgJqeVTkdNkCCKcnkRmIyoWqW jMkom84ypZOhOvA2oByFd4h2h3wp6xgwjBr3E5p0JidQSGoBZUBiBvZjODIcSsbpjbyr s1nQ==
- Arc-seal: i=1; a=rsa-sha256; t=1684303045; cv=none; d=strato.com; s=strato-dkim-0002; b=qlywIqirYfVvCXm0Ivti94KV4tzDKWLCMlCwPMFJdun/2rS+nCng0MKAIHL3B+FcY0 8o+Vj83a3TyrZVgrnPWdzssR5RP7EeUqWh5dlSHwmw6WOQIxwUWBWWG7Bq5p0owFWKZu k0PoO1Q95CIkQX0SFeCqMColTRsXGjH4s0Jz1IPEXBi1+1//TJ12AvBz7gGYrS/40nk0 MN+qnBgWCnGDF2M5ToixRx02hNHviPRfrrtOR4w8WxbgRDCgQ+eSwwGnKYLsfivmCjEY RvTDaLVYcMq3RvVBjYc+hPTutksK1I2lwWF2MExp4YuZ/bzt8Y1ywyPwqjwq70ml3sx4 j13Q==
- Cc: Olaf Hering <olaf@xxxxxxxxx>, Doug Goldstein <cardoe@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
- Delivery-date: Wed, 17 May 2023 05:57:58 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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>
---
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.
|