From d1469fd1904b349724c5b5f77a8f6b9a0fc0065d Mon Sep 17 00:00:00 2001 From: Lars Eggert Date: Wed, 18 Sep 2024 10:21:53 +0300 Subject: [PATCH] Invert --- neqo-crypto/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neqo-crypto/build.rs b/neqo-crypto/build.rs index 7e34f57320..b61a8e92af 100644 --- a/neqo-crypto/build.rs +++ b/neqo-crypto/build.rs @@ -324,7 +324,7 @@ fn setup_standalone(nss: &str) -> Vec { .unwrap_or_else(|_| fs::read_to_string(nssdist.join("latest")).unwrap()); // If NSS_PREBUILT is set, we assume that the NSS libraries are already built. - if env::var("NSS_PREBUILT").is_ok() { + if env::var("NSS_PREBUILT").is_err() { build_nss(nss, &nsstarget); }