From 8f1ba252e4ddb4a2cee779ebee61061ff396d52a Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 28 Jun 2018 18:33:04 +0200 Subject: [PATCH] build/compress: one more tweak --- README.md | 4 ++-- build/compress.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5fdd4d1..030d9cd 100644 --- a/README.md +++ b/README.md @@ -377,8 +377,8 @@ they can be printed selectively using: Compressing images ------------------ -Images are using bzip2(1) for distribution. This can be invoked -manually using: +Images are compressed using bzip2(1) for distribution. This can +be invoked manually using: # make compress-[,] diff --git a/build/compress.sh b/build/compress.sh index c28d1b9..31acc19 100644 --- a/build/compress.sh +++ b/build/compress.sh @@ -34,10 +34,10 @@ SELF=compress for ARG in ${@}; do case ${ARG} in arm|dvd|nano|serial|vga|vm) - for FILE in $(find ${IMAGESDIR} -name \ + for IMAGE in $(find ${IMAGESDIR} -name \ "*-${PRODUCT_FLAVOUR}-${ARG}-*" \! -name "*.bz2"); do echo -n ">>> Compressing ${ARG} image... " - bzip2 ${FILE} + bzip2 ${IMAGE} echo "done" done ;;