From 23cf651a6855035c3fde1cf62cb86002a5731342 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Tue, 21 Dec 2021 01:27:24 +0000 Subject: [PATCH] Use LC_ALL instead of LANG to correct zip file ordering --- android-build.sh | 2 +- build-release-jar.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/android-build.sh b/android-build.sh index d9c0efc3..06cca5de 100755 --- a/android-build.sh +++ b/android-build.sh @@ -49,7 +49,7 @@ for IDX in ${!EXTRA_TARGETS[@]}; do ${STRIPS[$IDX]} liblightningjni_release_${LDK_TARGET}.so done -export LANG=C +export LC_ALL=C echo "Need local deterministic ldk-java-classes.jar" ls ldk-java-classes.jar diff --git a/build-release-jar.sh b/build-release-jar.sh index 75203b3d..ef1c3ee2 100755 --- a/build-release-jar.sh +++ b/build-release-jar.sh @@ -9,7 +9,7 @@ ls src/main/resources/liblightningjni_Linux-amd64.nativelib ls src/main/resources/liblightningjni_MacOSX-x86_64.nativelib ls src/main/resources/liblightningjni_MacOSX-aarch64.nativelib -export LANG=C +export LC_ALL=C # We need to fetch dependencies first as faketime will break PKI cert checks! mvn -DskipTests=true -Dorg.lightningdevkit.skipdocs=false package -- 2.39.5