From 872c15fe4e2a2d8e467992565ddd05fdeb4390b9 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 9 Jun 2021 19:41:23 +0000 Subject: [PATCH] Ensure we sanitize rustc random values for all lightning crates --- deterministic-build-wrappers/rustc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deterministic-build-wrappers/rustc b/deterministic-build-wrappers/rustc index 2f35677..eba9cda 100755 --- a/deterministic-build-wrappers/rustc +++ b/deterministic-build-wrappers/rustc @@ -10,7 +10,7 @@ IS_LIGHTNING=false for ((i=0; i<"${#args[@]}"; ++i)); do case ${args[i]} in --crate-name) - if [ "${args[i+1]}" = "lightning" ]; then + if [ "${args[i+1]}" = "lightning" -o "${args[i+1]}" = "lightning_background_processor" -o "${args[i+1]}" = "lightning_invoice" -o "${args[i+1]}" = "lightning_persister" ]; then IS_LIGHTNING=true fi ;; -- 2.39.5