From: Steven Baltakatei Sandoval Date: Sat, 11 Jul 2020 08:02:18 +0000 (+0000) Subject: test(bklog):Uncomment cleanup line since script functional X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/a4bea612e8805f26ba599e36397219eb00140261?hp=7177fe18e5da47f1e75840a2fac3eeb85b0c5395 test(bklog):Uncomment cleanup line since script functional Use of appendFileTar() to append a file to a tar using the file's same location as a temporary working file caused problems. More direct 'eval' command string formation and 'tar --append' usage solved empty file problem. --- diff --git a/exec/bklog b/exec/bklog index ecc4e85..54e2f7e 100644 --- a/exec/bklog +++ b/exec/bklog @@ -11,7 +11,7 @@ dirTmpDefault="/dev/shm"; # Default parent of working directory # Script Metadata scriptName="bklog"; # Define basename of script file. -scriptVersion="0.1.21-debug"; # Define version of script. +scriptVersion="0.1.22"; # Define version of script. scriptURL="https://gitlab.com/baltakatei/ninfacyzga-01"; # Define wesite hosting this script. scriptTimeStart="$(date +%Y%m%dT%H%M%S.%N)"; # YYYYmmddTHHMMSS.NNNNNNNNN scriptHostname=$(hostname); # Save hostname of system running this script. @@ -1280,8 +1280,7 @@ magicProcessWriteBuffer() { # Remove secured chunks from dir_tmp for path in "${pathouts[@]}"; do - # rm "$path" && vbm "STATUS:$fn:Removed:$path"; - : + rm "$path" && vbm "STATUS:$fn:Removed:$path"; done; vbm "STATUS:$fn:Finished magicProcessWriteBuffer().";