don't over-write builder provided environment variables in config.sh

This commit is contained in:
idk
2022-12-28 01:35:01 +00:00
parent 9cf7d70c65
commit fa567cb536

View File

@ -1,5 +1,17 @@
#! /usr/bin/env sh
I2P_SIGNER=signer@mail.i2p
I2P_VERSION=2.0.0
I2P_BUILD_NUMBER=1
if [ -z $I2P_SIGNER ]; then
I2P_SIGNER=signer@mail.i2p
fi
if [ -z $I2P_VERSION ]; then
I2P_VERSION=2.0.0
fi
if [ -z $I2P_BUILD_NUMBER ]; then
I2P_BUILD_NUMBER=1
fi
# Uncomment/Edit this line to include the signer in the config file
# I2P_SIGNER=signer@mail.i2p
# Uncomment/Edit this line to include the version number in the config file
# I2P_VERSION=2.0.0
# Uncomment/Edit this line to include the build number in the config file
# I2P_BUILD_NUMBER=1