From d58f252e70548942c91ec1088afd82dc590186ec Mon Sep 17 00:00:00 2001 From: Stack Date: Mon, 21 Nov 2022 15:10:16 -0600 Subject: [PATCH] Readability improvements --- func/common/imports.sh | 2 +- func/core/pkg_archive/20-gzip-bin-test.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/func/common/imports.sh b/func/common/imports.sh index c61ccf7..a1a12a7 100644 --- a/func/common/imports.sh +++ b/func/common/imports.sh @@ -36,7 +36,7 @@ function r_processor() { if [[ "$(basename ${file})" =~ README|^\.|^_ ]]; then continue fi - [ -x "${file}" ] && "${file}" + [ -x "${file}" ] && echo "Begin processing script: ${file}" && "${file}" done return 0 } diff --git a/func/core/pkg_archive/20-gzip-bin-test.sh b/func/core/pkg_archive/20-gzip-bin-test.sh index 507387b..00ce3d8 100755 --- a/func/core/pkg_archive/20-gzip-bin-test.sh +++ b/func/core/pkg_archive/20-gzip-bin-test.sh @@ -1,8 +1,9 @@ #!/bin/bash r_log "archive" "Verifying gzip binaries" +echo -n "Processing; " for bin in gunzip gzexe gzip zcat zcmp zdiff zegrep zfgrep zforce zgrep zless zmore znew; do - echo -n "$bin" + echo -n "$bin " r_log "archive" "$bin" $bin --version &> /dev/null || r_checkExitStatus 1 done