diff options
author | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-04-29 19:08:22 +0100 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz <lucio@lucioillanes.de> | 2020-04-29 19:08:22 +0100 |
commit | a6970c75f85a294ba1056fa9ec329dfb272ac3bc (patch) | |
tree | db577d7fce0ffbcb7efdf16225f4c93ba8cb907c /subr/ex_pkg.subr | |
parent | dcaf8f8af74443d659829d6147298b027043b91d (diff) | |
download | midipix_build-a6970c75f85a294ba1056fa9ec329dfb272ac3bc.tar.bz2 midipix_build-a6970c75f85a294ba1056fa9ec329dfb272ac3bc.tar.xz |
Designate {debug,release} build as build kind.
etc/{{build,pkgtool}.usage,README.md}: updated.
Diffstat (limited to 'subr/ex_pkg.subr')
-rw-r--r-- | subr/ex_pkg.subr | 4 |
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"; ;; |