~vcs-imports/busybox/trunk

Viewing all changes in revision 14733.

  • Committer: Denys Vlasenko
  • Author(s): Kang-Che Sung
  • Date: 2017-07-15 17:20:45 UTC
  • Revision ID: git-v1:ed2b9225371a36dd2694df65e395dc32fd94c5dd
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: