From: Steven Baltakatei Sandoval Date: Thu, 2 Jul 2020 01:22:12 +0000 (+0000) Subject: fix(bkgpslog):Disable old tar append code X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/f8c26ff75bf87d93b133cb264f84c2d24fef0055 fix(bkgpslog):Disable old tar append code --- diff --git a/exec/bkgpslog b/exec/bkgpslog index 42d5824..0464968 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -820,12 +820,12 @@ main() { vbm "STATUS:PATHOUT_NMEA:$PATHOUT_NMEA"; vbm "STATUS:PATHOUT_GPX:$PATHOUT_GPX"; vbm "STATUS:PATHOUT_KML:$PATHOUT_KML"; - try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_NMEA")" && \ - vbm "DEBUG:Appended NMEA location data $PATHOUT_NMEA to $PATHOUT_TAR"; - try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_GPX")" && \ - vbm "DEBUG:Appended GPX location data $PATHOUT_GPX to $PATHOUT_TAR"; - try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_KML")" && \ - vbm "DEBUG:Appended KML location $PATHOUT_KML to $PATHOUT_TAR"; + # try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_NMEA")" && \ + # vbm "DEBUG:Appended NMEA location data $PATHOUT_NMEA to $PATHOUT_TAR"; + # try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_GPX")" && \ + # vbm "DEBUG:Appended GPX location data $PATHOUT_GPX to $PATHOUT_TAR"; + # try tar --append --directory="$DIR_TMP" --file="$PATHOUT_TAR" "$(basename "$PATHOUT_KML")" && \ + # vbm "DEBUG:Appended KML location $PATHOUT_KML to $PATHOUT_TAR"; # Remove secured chunks from DIR_TMP try rm "$PATHOUT_NMEA" "$PATHOUT_GPX" "$PATHOUT_KML"; # Reset buffer and filenames