fix(bkgpslog):Added quotes back to variable
[EVA-2020-02.git] / exec / bkgpslog
index ef7e13f393add94ca90a13aee4cd288a41f5538a..bd77ffd900faab2800b95cc6546fa885c84697ed 100755 (executable)
@@ -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" ;
+           FILEOUT_BASENAME="$(dateTimeShort)--P$(bufferTTL)S..""$SCRIPT_HOSTNAME""_location" ;
            FILEOUT_NMEA="$FILEOUT_BASENAME".nmea ;
            FILEOUT_GPX="$FILEOUT_BASENAME".gpx ;
            FILEOUT_KML="$FILEOUT_BASENAME".kml ;