summaryrefslogtreecommitdiffstats
path: root/src/control.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-10 19:33:12 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-10 19:33:12 (EDT)
commite71a53a49d80ba3cc72e678a00f50c2b5b7ca47e (patch)
treeeebad885711685d2661b90f28d90822a6c060376 /src/control.sh
parented4542dd2bef766426a40a5d9fd4d86c86a79c18 (diff)
Add braces to param exps in arith substs
Diffstat (limited to 'src/control.sh')
-rw-r--r--src/control.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control.sh b/src/control.sh
index 56c70a1..8c180dd 100644
--- a/src/control.sh
+++ b/src/control.sh
@@ -43,7 +43,7 @@ parse_control()
got_fields="${LF}"
while IFS='' read -r line; do
- control_line_nr=$(($control_line_nr + 1))
+ control_line_nr=$((${control_line_nr} + 1))
if [ "x$(echo ${line})" = 'x' ]; then
parse_control_error 'control_empty_line'
elif [ "x${line#\#}" != "x${line}" ]; then