summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-30 21:01:35 +0100
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-05-30 21:18:42 +0100
commitba50c280854187c7684a864cf10b576930601b4b (patch)
tree68c6b799178b4a0fc794b2c8fd0472ff62c5456b
parent3052af0437aac09868a0080e3ac58f66bfedd6f6 (diff)
downloadmidipix_build-ba50c280854187c7684a864cf10b576930601b4b.tar.bz2
midipix_build-ba50c280854187c7684a864cf10b576930601b4b.tar.xz
subr/pkgtool_init.subr:pkgtoolp_init_getopts(): correctly set ${BUILD_KIND}.
-rw-r--r--subr/pkgtool_init.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/subr/pkgtool_init.subr b/subr/pkgtool_init.subr
index bcbe455e..df5d19b8 100644
--- a/subr/pkgtool_init.subr
+++ b/subr/pkgtool_init.subr
@@ -51,7 +51,7 @@ pkgtoolp_init_getopts() {
elif getopts a:b:hirst _opt; then
case "${_opt}" in
a) ARCH="${OPTARG}"; ;;
- b) BUILD="${OPTARG}"; ;;
+ b) BUILD_KIND="${OPTARG}"; ;;
h) cat etc/pkgtool.usage; exit 0; ;;
i) ARG_INFO=1; ;;
r) ARG_RDEPENDS=1; ;;