[skip ci] Allow the WEB3_URL to be specified in the user .env file

This commit is contained in:
Zahary Karadjov 2021-10-19 18:00:41 +03:00
parent a6ddb80779
commit 6e4adc5a0b
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 2 additions and 0 deletions

2
env.sh
View File

@ -25,7 +25,9 @@ fi
# settings such as WEB3_URL, CPU_LIMIT, etc:
USER_ENV_FILE="${ABS_PATH}/.env"
if [ -f "${USER_ENV_FILE}" ]; then
set -o allexport
source "${USER_ENV_FILE}"
set +o allexport
fi
source ${ABS_PATH}/vendor/nimbus-build-system/scripts/env.sh