fix typo in bash expression
Fortunately the error doesn't change the value of the expression (since undefined variables are treated as 0 inside "$((...))").
This commit is contained in:
parent
6dd2ae02c1
commit
4ac1ba6107
1 changed files with 1 additions and 1 deletions
|
@ -1589,7 +1589,7 @@ $(if $(2), \
|
|||
if [ "$(3)" == "yaffs" ]; then \
|
||||
reservedblocks=5; \
|
||||
else \
|
||||
reselvedblocks=0; \
|
||||
reservedblocks=0; \
|
||||
fi; \
|
||||
twoblocks=$$((img_blocksize * 2)); \
|
||||
onepct=$$((((($(2) / 100) - 1) / img_blocksize + 1) * img_blocksize)); \
|
||||
|
|
Loading…
Reference in a new issue