summaryrefslogtreecommitdiffstats
path: root/lib/control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/control.sh')
-rw-r--r--lib/control.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/control.sh b/lib/control.sh
index e43a69e..58827ea 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -90,7 +90,7 @@ ob_parse_control()
line_nr=0
while IFS='' read -r line; do
- line_nr=$(($line_nr + 1))
+ line_nr=$((${line_nr} + 1))
case "${line}" in
'')
_ob_parse_control_error "${file}" "${line_nr}" \
@@ -273,7 +273,7 @@ ob_substvars()
)"
value="$(eval "printf '%s' \"\${_OB_SUBSTVAR_${name}}\"")"
string="${lhs}${value}${rhs}"
- depth=$(($depth + 1))
+ depth=$((${depth} + 1))
done
printf '%s\n' "${string}"