summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-16 16:34:44 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-16 16:34:44 (EDT)
commit5994d6a559c475c6ee034c9c4fca705291b7c716 (patch)
treef43cc0ea3721c0d2d9ab426c75609d177d2101fa /src/opkbuild.sh
parent36c39564862e4aedb54dd95e650d0333911fb926 (diff)
Add braces to param exps in arith substs
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh2
1 files changed, 1 insertions, 1 deletions
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