fix(bkgpslog):Fix malformed variable in output filename
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 01:42:10 +0000 (01:42 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 01:42:10 +0000 (01:42 +0000)
exec/bkgpslog

index f32c6d362d81f059d20a5c67a5fd0f2a65fdefa2..215dd7bbf8effe98a81e91e062d1aaaf69d4fcfd 100755 (executable)
@@ -242,7 +242,7 @@ main() {
        while [[ "$SECONDS" -lt "$scriptTTL" ]]; do
            ((debugCounter++))
            # Determine output file paths (time is start of buffer period)
        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 ;
            FILEOUT_NMEA="$FILEOUT_BASENAME".nmea ;
            FILEOUT_GPX="$FILEOUT_BASENAME".gpx ;
            FILEOUT_KML="$FILEOUT_BASENAME".kml ;