Merge "Fix an issue in assert-max-image-size."

This commit is contained in:
Tao Bao 2017-10-23 22:43:23 +00:00 committed by Gerrit Code Review
commit d690ca5b8a
1 changed files with 1 additions and 1 deletions

View File

@ -2814,7 +2814,7 @@ $(if $(2), \
size=$$(for i in $(1); do $(call get-file-size,$$i); echo +; done; echo 0); \
total=$$(( $$( echo "$$size" ) )); \
printname=$$(echo -n "$(1)" | tr " " +); \
maxsize=$(2); \
maxsize=$$(($(2))); \
if [ "$$total" -gt "$$maxsize" ]; then \
echo "error: $$printname too large ($$total > $$maxsize)"; \
false; \