1
0
Fork 0
mirror of https://github.com/eosswedenorg/antelope-api-healthcheck synced 2026-06-18 05:00:03 +02:00

scripts/build.sh: read and export variables from build/.buildinfo

This commit is contained in:
Henrik Hautakoski 2021-12-30 18:55:23 +01:00
parent f91e45e5ff
commit 4c5c74be31

View file

@ -19,9 +19,11 @@ BUILD_DIR=$2
export BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
export TEMPLATE_DIR=${BASE_DIR}/templates
# Package info
set -o allexport
# Package info
source ${BASE_DIR}/pkg_info
# Build info
source ${BUILD_DIR}/.buildinfo
set +o allexport
# Directories.