mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-07-03 11:53:43 +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 BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||||||
export TEMPLATE_DIR=${BASE_DIR}/templates
|
export TEMPLATE_DIR=${BASE_DIR}/templates
|
||||||
|
|
||||||
# Package info
|
|
||||||
set -o allexport
|
set -o allexport
|
||||||
|
# Package info
|
||||||
source ${BASE_DIR}/pkg_info
|
source ${BASE_DIR}/pkg_info
|
||||||
|
# Build info
|
||||||
|
source ${BUILD_DIR}/.buildinfo
|
||||||
set +o allexport
|
set +o allexport
|
||||||
|
|
||||||
# Directories.
|
# Directories.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue