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