Source .env in fetch script and fix GNUnet URL
This commit is contained in:
parent
9f52c93da3
commit
dd04a09022
3 changed files with 10 additions and 2 deletions
|
|
@ -10,6 +10,14 @@ ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|||
VENDOR_DIR="${ROOT_DIR}/vendor"
|
||||
mkdir -p "${VENDOR_DIR}"
|
||||
|
||||
# Load .env if present to honor GNUNET_TARBALL_URL/EXCHANGE_TARBALL_URL/... overrides
|
||||
if [[ -f "${ROOT_DIR}/.env" ]]; then
|
||||
set -a
|
||||
# shellcheck disable=SC1091
|
||||
source "${ROOT_DIR}/.env"
|
||||
set +a
|
||||
fi
|
||||
|
||||
GNUNET_VERSION="${GNUNET_VERSION:-0.26.1}"
|
||||
EXCHANGE_VERSION="${EXCHANGE_VERSION:-1.2.2}"
|
||||
MERCHANT_VERSION="${MERCHANT_VERSION:-1.1.6}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue