Add config.sh and example config.sh file

This commit is contained in:
idk
2022-11-13 16:26:22 -05:00
parent 2b21d7b78f
commit 686158e24b
2 changed files with 9 additions and 0 deletions

View File

@ -1,6 +1,10 @@
#!/bin/bash
set -e
if [ -f config.sh ]; then
. config.sh
fi
# old javas output version to stderr and don't support --version
JAVA=$(java --version 2>&1 | tr -d 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ\n' | cut -d ' ' -f 2 | cut -d '.' -f 1 | tr -d '\n\t ')

5
config.sh Normal file
View File

@ -0,0 +1,5 @@
#! /usr/bin/env sh
I2P_SIGNER=signer@mail.i2p
I2P_VERSION=2.0.0
I2P_BUILD_NUMBER=1