From 645bf3ba6dc01b7b794ad6374dfc63fadca1596e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Mon, 11 May 2020 09:06:41 +0100 Subject: subr/pkgtool_init.subr:pkgtoolp_init_getopts(): correctly initialise ${BUILD_KIND}. --- subr/pkgtool_init.subr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subr/pkgtool_init.subr b/subr/pkgtool_init.subr index a4e6b4fa..25e1ff51 100644 --- a/subr/pkgtool_init.subr +++ b/subr/pkgtool_init.subr @@ -29,7 +29,7 @@ pkgtoolp_init_env() { }; pkgtoolp_init_getopts() { - local _opt="" _shiftfl=0 _rc=0 OPTIND=0; _status=""; : ${ARCH:="nt64"}; : ${BUILD:="debug"}; + local _opt="" _shiftfl=0 _rc=0 OPTIND=0; _status=""; : ${ARCH:="nt64"}; : ${BUILD_KIND:="debug"}; ARG_INFO=0; ARG_RESTART_AT=""; ARG_RDEPENDS=0; ARG_UPDATE_DIFF=0; ARG_SHELL=0; ARG_TARBALL=0; while [ "${#}" -gt 0 ]; do case "${1}" in -- cgit v1.2.3