fix(bkgpslog):Added quotes back to variable
authorSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 01:36:15 +0000 (01:36 +0000)
committerSteven Baltakatei Sandoval <baltakatei@gmail.com>
Mon, 29 Jun 2020 01:36:15 +0000 (01:36 +0000)
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)
        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 ;
            FILEOUT_NMEA="$FILEOUT_BASENAME".nmea ;
            FILEOUT_GPX="$FILEOUT_BASENAME".gpx ;
            FILEOUT_KML="$FILEOUT_BASENAME".kml ;