Pull request: scripts: don't use features not guaranteed by posix

Merge in DNS/adguard-home from 2276-fix-portability to master

Updates #2276.

Squashed commit of the following:

commit 3019099f2498923495575873daf372598aa72478
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Thu Dec 31 14:31:02 2020 +0300

    scripts: don't use features not guaranteed by posix
This commit is contained in:
Ainar Garipov 2020-12-31 15:12:46 +03:00
parent cfd492cf7c
commit 933ca2af2a

View file

@ -349,7 +349,7 @@ echo "{
echo " \"download_${platform}\": \"${version_download_url}/${filename}\"," >> "$version_json"
fi
: "$(( i++ ))"
i="$(( i + 1 ))"
done
)