fix build issues, allow overriding i2p version with a file

This commit is contained in:
idk
2021-07-15 15:48:34 -04:00
parent a8117ce0fc
commit 7ef6e9149d
3 changed files with 13 additions and 5 deletions

View File

@@ -3,6 +3,10 @@ set -e
. i2pversion
if [ -f i2pversion_override ]; then
. i2pversion_override
fi
JAVA=$(java --version | tr -d 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\n' | cut -d ' ' -f 2 | cut -d '.' -f 1 | tr -d '\n\t\- ')
if [ "$JAVA" -lt "14" ]; then