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>
Sat, 15 Jul 2017 17:20:45 +0000 (19:20 +0200)
commited2b9225371a36dd2694df65e395dc32fd94c5dd
tree55ec9e9e50b63aba14fa22c1524391e55d977d96
parentc4ddf04b6898c218b08251d81d30c3a2d587b10c
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