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

Commit 5f1faeb9 authored by Luca Stefani's avatar Luca Stefani
Browse files

Make get-file-size compatible with toybox stat

* Use the same format as mk_qemu_image.sh

Change-Id: I5df23f488006440075a00798a171f7a8856e097a
parent c041a1bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -26,5 +26,5 @@ endef

# $(1): The file to check
define get-file-size
stat --format "%s" "$(1)" | tr -d '\n'
stat -c "%s" "$(1)" | tr -d '\n'
endef