From 5994d6a559c475c6ee034c9c4fca705291b7c716 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Mar 2019 16:34:44 -0400 Subject: Add braces to param exps in arith substs --- (limited to 'src/opkbuild.sh') diff --git a/src/opkbuild.sh b/src/opkbuild.sh index af7ce1c..43e338d 100644 --- a/src/opkbuild.sh +++ b/src/opkbuild.sh @@ -381,7 +381,7 @@ main() fi get_options "${@}" || return 1 - shift $(($OPTIND - 1)) + shift $((${OPTIND} - 1)) if [ ${#} -ne 0 ]; then usage return 1 -- cgit v0.9.1