From: Matt Corallo Date: Sun, 16 Jan 2022 03:02:37 +0000 (+0000) Subject: Overwrite ldk_ver.h to avoid back-to-back builds duplicating consts X-Git-Tag: v0.0.105.0~2^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=92cd6c3207545d92bd1a327b07fd7d765eda067e;p=ldk-c-bindings 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. --- 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