summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
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