summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-12-24 16:13:24 +0000
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-12-24 16:13:24 +0000
commit157d4b878eb6e17604bb5ee06f87bbdb3c017651 (patch)
tree4104152be60a431cc175fe178032b1ca8fdfb563 /subr
parentd1afa244ed43183c9148436735d0f3712eaa810e (diff)
downloadmidipix_build-157d4b878eb6e17604bb5ee06f87bbdb3c017651.tar.bz2
midipix_build-157d4b878eb6e17604bb5ee06f87bbdb3c017651.tar.xz
subr/build_init.subr:buildp_init_getopts(): fix -F.
Diffstat (limited to 'subr')
-rw-r--r--subr/build_init.subr6
1 files changed, 3 insertions, 3 deletions
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";