From ccd5a56fdb1ce1b4078704f2f2d645a1f6c79f36 Mon Sep 17 00:00:00 2001 From: penev92 Date: Sat, 2 May 2015 14:04:29 +0300 Subject: [PATCH] Fix the Windows Make script --- make.ps1 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/make.ps1 b/make.ps1 index a765ee7f10..a2163819c5 100644 --- a/make.ps1 +++ b/make.ps1 @@ -73,9 +73,12 @@ elseif ($command -eq "clean") $proc = Start-Process $msBuild $msBuildArguments -NoNewWindow -PassThru -Wait rm *.dll rm *.config - rm thirdparty/*.dll - rmdir thirdparty/windows/ rm mods/*/*.dll + rm thirdparty/*.dll + if(Test-Path -Path thirdparty/windows/) + { + rmdir thirdparty/windows/ -Recurse + } echo "Clean complete." } }