summaryrefslogtreecommitdiffhomepage
path: root/pkgtool.sh
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-29 19:37:15 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-04-29 19:37:15 +0100
commitcd416f3e7559cc7f6484cad505267f3b9e041b4b (patch)
treed9916d344cadc22a006693e0bf455e8beab22e86 /pkgtool.sh
parent5f3737927094f4d505c5fe00281ee0354ca38967 (diff)
downloadmidipix_build-cd416f3e7559cc7f6484cad505267f3b9e041b4b.tar.bz2
midipix_build-cd416f3e7559cc7f6484cad505267f3b9e041b4b.tar.xz
Designate {debug,release} build as build kind.
Diffstat (limited to 'pkgtool.sh')
-rwxr-xr-xpkgtool.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtool.sh b/pkgtool.sh
index 41a0fde8..958e9e98 100755
--- a/pkgtool.sh
+++ b/pkgtool.sh
@@ -89,7 +89,7 @@ pkgtoolp_shell() {
rtl_log_msg info "Run \$R to rebuild \`%s'." "${_pkg_name}";
rtl_log_msg info "Run \$RS <step> to restart the specified build step of \`%s'" "${_pkg_name}";
rtl_log_msg info "Run \$D to automatically regenerate the patch for \`%s'." "${_pkg_name}";
- export ARCH BUILD \
+ export ARCH BUILD_KIND \
BUILD_DLCACHEDIR BUILD_WORKDIR \
MAKE="make LIBTOOL=${PKG_LIBTOOL:-slibtool}" \
MIDIPIX_BUILD_PWD \
@@ -172,7 +172,7 @@ pkgtoolp_update_diff() {
};
pkgtool() {
- local _rc=0 _status="" BUILD_GROUPS="" ARCH BUILD BUILD_WORKDIR PKGTOOL_PKGNAME PREFIX;
+ local _rc=0 _status="" BUILD_GROUPS="" ARCH BUILD_KIND BUILD_WORKDIR PKGTOOL_PKGNAME PREFIX;
if ! . "${0%/*}/subr/pkgtool_init.subr"; then
_rc=1; printf "Error: failed to source \`${0%/*}/subr/pkgtool_init.subr'." >&2;
elif ! pkgtool_init "${@}"; then