diff options
Diffstat (limited to 'scripts/build/lb')
-rwxr-xr-x | scripts/build/lb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/build/lb b/scripts/build/lb index a0e622086..ee8bad07b 100755 --- a/scripts/build/lb +++ b/scripts/build/lb @@ -42,6 +42,13 @@ case "${1}" in COMMAND="lb_${1}" shift + if [ -e config/environment.binary ] + then + ENV="$(cat config/environment.binary)" + else + ENV="" + fi + if [ -x "${LB_BASE}/scripts/build/${COMMAND}" ] then SCRIPT="${LB_BASE}/scripts/build/${COMMAND}" @@ -57,6 +64,6 @@ case "${1}" in fi Echo "[%s] %s" "$(date +'%F %T')" "${COMMAND} ${*}" - LB=1 exec "${SCRIPT}" "${@}" + LB=1 ${ENV} exec "${SCRIPT}" "${@}" ;; esac |