Commit 296c3c57 authored by Anton Midyukov's avatar Anton Midyukov

Revert "image.in/Makefile: fix show image size"

This reverts commit c86141fc. The --size option does not show the size of the image, but the size of the used disk space. Need to fix it differently.
parent 4d383dd4
......@@ -90,7 +90,7 @@ imagedir:
@mkdir -p "$(IMAGE_OUTDIR)"
postprocess: | $(addprefix postprocess-,$(sort $(POSTPROCESS_TARGETS)))
@OUTSIZE="`ls -hs "$(IMAGE_OUTPATH)" | cut -f1 -d' '`"; \
@OUTSIZE="`ls -lh "$(IMAGE_OUTPATH)" | cut -f5 -d' '`"; \
if [ ! -n "$$OUTSIZE" ]; then \
echo "** error: $(IMAGE_OUTPATH) missing" >&2; \
exit 1; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment