summaryrefslogtreecommitdiffstats
path: root/lib/deps.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 /lib/deps.sh
parent36c39564862e4aedb54dd95e650d0333911fb926 (diff)
Add braces to param exps in arith substs
Diffstat (limited to 'lib/deps.sh')
-rw-r--r--lib/deps.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/deps.sh b/lib/deps.sh
index d175d44..649cfe0 100644
--- a/lib/deps.sh
+++ b/lib/deps.sh
@@ -124,7 +124,7 @@ ob_parse_dep()
;;
esac
done
- shift $(($OPTIND - 1))
+ shift $((${OPTIND} - 1))
dep="${1}"
shift 1 || _ob_abort
@@ -232,7 +232,7 @@ ob_reduce_deps()
;;
esac
done
- shift $(($OPTIND - 1))
+ shift $((${OPTIND} - 1))
local deps="${1}"
shift 1 || _ob_abort