From 8d5c0c77609d814de7c0749602a595236f76b487 Mon Sep 17 00:00:00 2001 From: "Barton E. Schaefer" Date: Wed, 23 Sep 2015 23:16:38 -0700 Subject: 36604: fix getopts+shift calculation --- Functions/Misc/zrecompile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions') diff --git a/Functions/Misc/zrecompile b/Functions/Misc/zrecompile index 8fe990086..d9fc55020 100644 --- a/Functions/Misc/zrecompile +++ b/Functions/Misc/zrecompile @@ -52,7 +52,7 @@ while getopts ":tqp" opt; do fi esac done -shift OPTIND-${#tmp:-1} +shift OPTIND-${#tmp}-1 if [[ -n $check ]]; then ret=1 -- cgit 1.4.1