Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d690ca5b authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

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

parents 0c8b471b 6730f901
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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; \