Fix sign script fail conditions

There is a bug in the sign.ps1 script as the opposite comparison operators were used.
This commit is contained in:
Andy Feller 2023-12-14 11:29:37 -05:00
parent 8861f95b9e
commit ed573a1eb8

View file

@ -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
}