summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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; ;;