forked from sig_core/toolkit
Readability improvements
This commit is contained in:
parent
7aa85b609c
commit
d58f252e70
@ -36,7 +36,7 @@ function r_processor() {
|
|||||||
if [[ "$(basename ${file})" =~ README|^\.|^_ ]]; then
|
if [[ "$(basename ${file})" =~ README|^\.|^_ ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
[ -x "${file}" ] && "${file}"
|
[ -x "${file}" ] && echo "Begin processing script: ${file}" && "${file}"
|
||||||
done
|
done
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
r_log "archive" "Verifying gzip binaries"
|
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
|
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"
|
r_log "archive" "$bin"
|
||||||
$bin --version &> /dev/null || r_checkExitStatus 1
|
$bin --version &> /dev/null || r_checkExitStatus 1
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user