From e5c86dbcf3f13a6c76d9e71726b26dd0ad6134dd Mon Sep 17 00:00:00 2001 From: Arthur Date: Thu, 2 May 2019 12:57:48 +0300 Subject: [PATCH] Forcing the creation of tmp directory so that build doesn't fail when it already exists Signed-off-by: Arthur Peka --- scripts/make.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make.ps1 b/scripts/make.ps1 index 1a4c6e4ef8..d1a0a29422 100644 --- a/scripts/make.ps1 +++ b/scripts/make.ps1 @@ -124,7 +124,7 @@ Function Execute-Build($additionalBuildTags, $directory) { $env:_ag_dockerVersion=$dockerVersion $env:_ag_gitCommit=$gitCommit - New-Item -ItemType Directory -Path .\tmp | Out-Null + New-Item -ItemType Directory -Path .\tmp -Force | Out-Null windres -i scripts/winresources/docker.rc -o cli/winresources/rsrc_amd64.syso -F pe-x86-64 --use-temp-file -I ./tmp -D DOCKER_VERSION_QUAD=$versionQuad --% -D DOCKER_VERSION=\"%_ag_dockerVersion%\" -D DOCKER_COMMIT=\"%_ag_gitCommit%\" if ($LASTEXITCODE -ne 0) { Throw "Failed to compile client 64-bit resources" }