From: Steven Baltakatei Sandoval Date: Thu, 2 Jul 2020 19:10:55 +0000 (+0000) Subject: style(unitproc):checkMakeTar:minor formatting X-Git-Tag: 0.2.0~7 X-Git-Url: https://zdv2.bktei.com/gitweb/BK-2020-03.git/commitdiff_plain/785dbf3815efb048c77d790369f7eb73b0c5c285?ds=sidebyside;hp=0cef41dde7ed3fc3df48a8fb84e824faa405ce49 style(unitproc):checkMakeTar:minor formatting --- diff --git a/unitproc/bktemp-checkMakeTar b/unitproc/bktemp-checkMakeTar index 147d21e..288a000 100644 --- a/unitproc/bktemp-checkMakeTar +++ b/unitproc/bktemp-checkMakeTar @@ -2,16 +2,14 @@ # Desc: Checks that a valid tar archive exists, creates one otherwise - +#===BEGIN Declare local script functions=== yell() { echo "$0: $*" >&2; } #o Yell, Die, Try Three-Fingered Claw technique die() { yell "$*"; exit 111; } #o Ref/Attrib: https://stackoverflow.com/a/25515370 try() { "$@" || die "cannot $*"; } #o - -#===BEGIN Declare local script functions=== checkMakeTar() { # Desc: Checks that a valid tar archive exists, creates one otherwise # Usage: checkMakeTar [ path ] - # Version: 1.0.0 + # Version: 1.0.1 # Input: arg1: path of tar archive # Output: exit code 0 : tar readable # exit code 1 : tar missing; created