fix(bkgpslog):Fix incorrect gpsbabel output option for KML file
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 00:18:39 +0000 (00:18 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 00:18:39 +0000 (00:18 +0000)
exec/bkgpslog

index df924e2c77a336db4f562f0d98b3cd9feaf975c8..02369a6a4836f7872917053f907eb240363cd0bb 100755 (executable)
@@ -253,7 +253,7 @@ main() {
            # Save processed buffer data
            echo "$buffer" >> "$DIROUT"/"$FILEOUT_NMEA" # Save NMEA format
            echo "$buffer_GPX" >> "$DIROUT"/"$FILEOUT_GPX" # Save GPX format
            # Save processed buffer data
            echo "$buffer" >> "$DIROUT"/"$FILEOUT_NMEA" # Save NMEA format
            echo "$buffer_GPX" >> "$DIROUT"/"$FILEOUT_GPX" # Save GPX format
-           echo "$buffer_GPX" >> "$DIROUT"/"$FILEOUT_KML" # Save KML format
+           echo "$buffer_KML" >> "$DIROUT"/"$FILEOUT_KML" # Save KML format
            vbm "DEBUG:Completed buffer session $debugCounter ." 1>&2;
            # Reset buffer
            unset buffer
            vbm "DEBUG:Completed buffer session $debugCounter ." 1>&2;
            # Reset buffer
            unset buffer