From: Steven Baltakatei Sandoval Date: Mon, 29 Jun 2020 01:42:10 +0000 (+0000) Subject: fix(bkgpslog):Fix malformed variable in output filename X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02.git/commitdiff_plain/fde89ac0b02bb52ea8744e58f1ca9eee6530e37e?ds=sidebyside fix(bkgpslog):Fix malformed variable in output filename --- diff --git a/exec/bkgpslog b/exec/bkgpslog index f32c6d3..215dd7b 100755 --- a/exec/bkgpslog +++ b/exec/bkgpslog @@ -242,7 +242,7 @@ main() { while [[ "$SECONDS" -lt "$scriptTTL" ]]; do ((debugCounter++)) # Determine output file paths (time is start of buffer period) - FILEOUT_BASENAME="$(dateTimeShort)--P$(bufferTTL)S..""$SCRIPT_HOSTNAME""_location" ; # ISO-8601 YYYYmmddTHHMMSS+zzP[$bufferTTL]S + FILEOUT_BASENAME="$(dateTimeShort)""--P""$bufferTTL""S..""$SCRIPT_HOSTNAME""_location" ; # ISO-8601 YYYYmmddTHHMMSS+zzP[$bufferTTL]S FILEOUT_NMEA="$FILEOUT_BASENAME".nmea ; FILEOUT_GPX="$FILEOUT_BASENAME".gpx ; FILEOUT_KML="$FILEOUT_BASENAME".kml ;