From: Matt Corallo Date: Sat, 2 Mar 2024 03:22:40 +0000 (+0000) Subject: Fix `$IS_MAC` usage in c_sharp generation X-Git-Tag: v0.0.121.2~1^2~1 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2c4caca9dd770d9b4ae23a8d417c89b3626228e9;p=ldk-java Fix `$IS_MAC` usage in c_sharp generation --- diff --git a/genbindings.sh b/genbindings.sh index 53118014..fb56a978 100755 --- a/genbindings.sh +++ b/genbindings.sh @@ -125,11 +125,6 @@ if [ "$2" = "c_sharp" ]; then cat header.c >> c_sharp/bindings.c cat c_sharp/bindings.c.body >> c_sharp/bindings.c - IS_MAC=false - [ "$($CC --version | grep apple-darwin)" != "" ] && IS_MAC=true - IS_APPLE_CLANG=false - [ "$($CC --version | grep "Apple clang version")" != "" ] && IS_APPLE_CLANG=true - if is_gnu_sed; then sed -i "s/.*<\/version>/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/org.ldk.nuspec sed -i "s/.*<\/version>/${LDK_GARBAGECOLLECTED_GIT_OVERRIDE:1:100}<\/version>/g" c_sharp/packaging_artifacts/package/services/metadata/core-properties/ldk.psmdcp