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:
parent
f91e45e5ff
commit
4c5c74be31
1 changed files with 3 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue