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

am: d690ca5b8a

Change-Id: Ic60bb93a2daec5164caf584e3988240c2c5d70cc
This commit is contained in:
Tao Bao 2017-10-23 22:52:58 +00:00 committed by android-build-merger
commit a89179ad7c
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; \