From 5994d6a559c475c6ee034c9c4fca705291b7c716 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 16 Mar 2019 16:34:44 -0400 Subject: Add braces to param exps in arith substs --- (limited to 'lib/changelog.sh') diff --git a/lib/changelog.sh b/lib/changelog.sh index e7c3f7c..4432850 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -81,7 +81,7 @@ ob_parse_changelog() expect='first_heading' while IFS='' read line; do - line_nr=$(($line_nr + 1)) + line_nr=$((${line_nr} + 1)) case "${line}" in '') if [ x"${expect}" = x'start_changes' ]; then -- cgit v0.9.1