From 92cd6c3207545d92bd1a327b07fd7d765eda067e Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 16 Jan 2022 03:02:37 +0000 Subject: [PATCH] Overwrite ldk_ver.h to avoid back-to-back builds duplicating consts This causes back-to-back builds to have an ldk_ver.h for which the oldest content dominates. --- genbindings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genbindings.sh b/genbindings.sh index 238c720..533ee7c 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -113,7 +113,7 @@ static inline const char* check_get_ldk_bindings_version() { } #endif /* _LDK_HEADER_VER */ EOF -)" >> lightning-c-bindings/include/ldk_ver.h +)" > lightning-c-bindings/include/ldk_ver.h rm -rf lightning-c-bindings/src -- 2.39.5