fix(bkgpslog):Fix incorrect gpsbabel output option for KML file
[EVA-2020-02.git] / 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