From 157d4b878eb6e17604bb5ee06f87bbdb3c017651 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 24 Dec 2020 16:13:24 +0000 Subject: subr/build_init.subr:buildp_init_getopts(): fix -F. --- subr/build_init.subr | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'subr') diff --git a/subr/build_init.subr b/subr/build_init.subr index 3dd39012..0bc544eb 100644 --- a/subr/build_init.subr +++ b/subr/build_init.subr @@ -137,7 +137,7 @@ buildp_init_getopts() { local _arg="" _opt="" _rc=0 _shiftfl=0 OPTIND=0; _status=""; : ${ARCH:="nt64"}; : ${BUILD_KIND:="debug"}; ARG_AS_NEEDED=0; ARG_CLEAN_BUILDS=""; ARG_DEBUG_MINIPIX=0; ARG_DIST=""; ARG_DUMP_IN=""; - ARG_DUMP_ON_ABORT=0; ARG_FETCH_FORCE=0; ARG_PARALLEL=1; ARG_RELAXED=0; ARG_RESTART=""; + ARG_DUMP_ON_ABORT=0; ARG_FETCH_FORCE=""; ARG_PARALLEL=1; ARG_RELAXED=0; ARG_RESTART=""; ARG_RESTART_AT=""; ARG_RESTART_RECURSIVE=""; ARG_VERBOSE=0; while [ "${#}" -gt 0 ]; do case "${1}" in @@ -174,13 +174,13 @@ buildp_init_getopts() { break; elif [ "${_shiftfl}" -gt 0 ]; then shift "${_shiftfl}"; continue; - elif getopts a:b:C:D:Fhp:Pr:R _opt; then + elif getopts a:b:C:D:F:hp:Pr:R _opt; then case "${_opt}" in a) ARCH="${OPTARG}"; ;; b) BUILD_KIND="${OPTARG}"; ;; C) ARG_CLEAN_BUILDS="${OPTARG}"; ;; D) ARG_DIST="${OPTARG}"; ;; - F) ARG_FETCH_FORCE=1; ;; + F) ARG_FETCH_FORCE="${OPTARG}"; ;; h) cat etc/build.usage; exit 0; ;; p) ARG_PARALLEL="${OPTARG}"; ;; P) ARG_PARALLEL="auto"; -- cgit v1.2.3