summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr/ex_pkg.subr')
-rw-r--r--subr/ex_pkg.subr4
1 files changed, 2 insertions, 2 deletions
diff --git a/subr/ex_pkg.subr b/subr/ex_pkg.subr
index 8de0774e..8e7451d7 100644
--- a/subr/ex_pkg.subr
+++ b/subr/ex_pkg.subr
@@ -106,8 +106,8 @@ ex_pkg_load_vars() {
local _rc=0; _status="";
if ! rtl_lmatch "${ARCH}" "nt32 nt64"; then
_rc=1; _status="Error: invalid architecture \`${ARCH}'.";
- elif ! rtl_lmatch "${BUILD}" "debug release"; then
- _rc=1; _status="Error: unknown build type \`${BUILD}'.";
+ elif ! rtl_lmatch "${BUILD_KIND}" "debug release"; then
+ _rc=1; _status="Error: unknown build type \`${BUILD_KIND}'.";
else case "${ARCH}" in
nt32) DEFAULT_TARGET="i686-nt32-midipix"; ;;
nt64) DEFAULT_TARGET="x86_64-nt64-midipix"; ;;