diff options
author | Kang-Che Sung <explorer09@gmail.com> | 2017-07-15 11:38:58 +0800 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-15 19:20:45 +0200 |
commit | ed2b9225371a36dd2694df65e395dc32fd94c5dd (patch) | |
tree | 55ec9e9e50b63aba14fa22c1524391e55d977d96 /shell/ash.c | |
parent | c4ddf04b6898c218b08251d81d30c3a2d587b10c (diff) | |
download | busybox-ed2b9225371a36dd2694df65e395dc32fd94c5dd.tar.gz |
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>
Diffstat (limited to 'shell/ash.c')
0 files changed, 0 insertions, 0 deletions