From 421590dee68f22779a4945aa28669a4dbb09cb5d Mon Sep 17 00:00:00 2001 From: knaccc Date: Sun, 30 Jun 2019 06:14:39 +0100 Subject: [PATCH] normalizeZip java executable location fix --- bin/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/util.sh b/bin/util.sh index 166d8dd..32b6ec5 100644 --- a/bin/util.sh +++ b/bin/util.sh @@ -12,6 +12,6 @@ getHash () { # normalizes the specified jar or zip for reproducible build. Enforces consistent zip file order and sets all timestamps to the last modified date of the VERSION file normalizeZip () { - java --module-path "$basedir/import/commons-compress-1.18/commons-compress-1.18.jar":"$basedir/target/org.getmonero.util.normalizeZip.jar" \ + $JAVA_HOME/bin/java --module-path "$basedir/import/commons-compress-1.18/commons-compress-1.18.jar":"$basedir/target/org.getmonero.util.normalizeZip.jar" \ -m org.getmonero.util.normalizeZip "$basedir/org.getmonero.i2p.zero/src/org/getmonero/i2p/zero/VERSION" "$1" } \ No newline at end of file