From ed573a1eb8d012be80c57a74e352467a1eb3cee3 Mon Sep 17 00:00:00 2001 From: Andy Feller Date: Thu, 14 Dec 2023 11:29:37 -0500 Subject: [PATCH] Fix sign script fail conditions There is a bug in the sign.ps1 script as the opposite comparison operators were used. --- script/sign.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/sign.ps1 b/script/sign.ps1 index 7ba5177a0..85a312588 100644 --- a/script/sign.ps1 +++ b/script/sign.ps1 @@ -1,11 +1,11 @@ #!/usr/bin/env pwsh -if ($null -ne $env:DLIB_PATH) { +if ($null -eq $Env:DLIB_PATH) { Write-Host "Skipping Windows code signing; DLIB_PATH not set" exit } -if ($null -ne $env:METADATA_PATH) { +if ($null -eq $Env:METADATA_PATH) { Write-Host "Skipping Windows code signing; METADATA_PATH not set" exit }