From 3e76b0f2d826bdab621d88b122053f20efe78a64 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sat, 20 Jul 2024 21:09:47 +0200 Subject: [PATCH] Add log messages for lengthy operations. --- build-images | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build-images b/build-images index c107de1..ec2ff18 100755 --- a/build-images +++ b/build-images @@ -26,9 +26,13 @@ TOP_DIR=$(pwd) xz_compress() { FILE="$1" if which pixz >/dev/null 2>&1; then + printf 'Compressing %s with pixz...' "$FILE" pixz "$FILE" + echo ' done' else + printf 'Compressing %s with xz...' "$FILE" xz "$FILE" + echo ' done' fi }