summaryrefslogtreecommitdiffstats
path: root/src/control.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-19 21:26:04 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-19 21:26:04 (EDT)
commit44e452fb3c8cc7a093d72fbc280be3973e627a62 (patch)
treedc169666d13834de17d3c984317e29ec4af1d04f /src/control.sh
parentc752393c58c37dc7e8403b8b87d0943c1fe8c8b9 (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 b25d00b..c8d742c 100644
--- a/src/control.sh
+++ b/src/control.sh
@@ -39,7 +39,7 @@ parse_control()
in_paragraph='false'
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
# Paragraph end.
if ${in_paragraph}; then