make_single_applets: fix ": $((fail++))" expansion error
authorKang-Che Sung <explorer09@gmail.com>
Sat, 15 Jul 2017 03:38:58 +0000 (11:38 +0800)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 18 Jul 2017 17:20:58 +0000 (19:20 +0200)
commit6f13dd1d6574bbc0eacd5574d2e451596a92df5d
tree8c6f10a8f719463367beff02d6a6002df59e7857
parent3df48bdde96632a83cacff1f7795837a160de1d4
make_single_applets: fix ": $((fail++))" expansion error

$((fail++)) is not a required expression in POSIX, and in "dash" it
could produce an error like this:

    ./make_single_applets.sh: 61: arithmetic expression: expecting primary: "fail++"

Replace this with something portable: fail=$((fail+1)) would work.

Signed-off-by: Kang-Che Sung <explorer09@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
make_single_applets.sh