diff --git a/build/build-host-release.ps1 b/build/build-host-release.ps1 index 3fb9e7eadfdc..b1e8660568c8 100644 --- a/build/build-host-release.ps1 +++ b/build/build-host-release.ps1 @@ -48,7 +48,7 @@ $CompressParam = @{ LiteralPath = "sslocal.exe", "ssserver.exe", "ssurl.exe", "ssmanager.exe", "ssservice.exe" DestinationPath = "${PackagePath}" } -if (${Features} -contains "winservice") { +if ((${Features}).Contains("winservice")) { $CompressParam.LiteralPath += "sswinservice.exe" } Compress-Archive @CompressParam