From d8bc06d05d20cf0f6b200cea4a61ba33ceb07a34 Mon Sep 17 00:00:00 2001 From: Faryan Rezagholi Date: Sat, 14 Aug 2021 13:41:09 +0200 Subject: [PATCH] ? --- Tools/zip_files.ps1 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Tools/zip_files.ps1 b/Tools/zip_files.ps1 index 942bb607a..be4355e12 100644 --- a/Tools/zip_files.ps1 +++ b/Tools/zip_files.ps1 @@ -22,12 +22,10 @@ Write-Output "Version is $($version)" # Fix for AppVeyor if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) { - $AppVeyorDir = $Env:APPVEYOR_BUILD_FOLDER - $path = "$($AppVeyorDir)\Release" - If(!(test-path $path)) - { - New-Item -ItemType Directory -Force -Path $path | Out-Null - } + If(!(test-path "Release")) + { + New-Item -ItemType Directory -Force -Path $path | Out-Null + } } # Package debug symbols zip file