summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-08-24 12:35:37 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2021-08-24 12:35:37 +0200
commitc833fcd730484fa5270940c5596097d443fa86af (patch)
tree7b55919210dcc040fed89b816d6a4403f3eeb473 /subr
parent76244ebb5b87c1834c20c908ad9a5c41db5da616 (diff)
downloadmidipix_build-c833fcd730484fa5270940c5596097d443fa86af.tar.bz2
midipix_build-c833fcd730484fa5270940c5596097d443fa86af.tar.xz
Adds ${PKG_VARS_FILE} package variable.
Diffstat (limited to 'subr')
-rw-r--r--subr/ex_pkg_env.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/ex_pkg_env.subr b/subr/ex_pkg_env.subr
index c7d40dce..f3c3389e 100644
--- a/subr/ex_pkg_env.subr
+++ b/subr/ex_pkg_env.subr
@@ -111,7 +111,7 @@ exp_pkg_env_set() {
ex_pkg_env() {
local _build_steps_default="${1}" _build_vars_default="${2}" _group_name="${3}" \
_nounset="${4}" _pkg_name="${5}" _restart_at="${6}" _workdir="${7}" _vname="";
- rtl_fileop source_opt "vars/${_pkg_name}.vars" "${_group_name}/${_pkg_name}.${_group_name}";
+ rtl_fileop source_opt "${PKG_VARS_FILE:-vars/${_pkg_name}.vars}" "${_group_name}/${_pkg_name}.${_group_name}";
if ! exp_pkg_env_set "${_build_vars_default}" "${_group_name}" "${_nounset}" "${_pkg_name}"\
|| ! exp_pkg_env_defaults "${_build_steps_default}" "${_pkg_name}" "${_workdir}"; then
return 1;