projects
/
EVA-2020-02.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix(bkgpslog):Fix malformed variable in output filename
[EVA-2020-02.git]
/
exec
/
bkgpslog
diff --git
a/exec/bkgpslog
b/exec/bkgpslog
index f32c6d362d81f059d20a5c67a5fd0f2a65fdefa2..215dd7bbf8effe98a81e91e062d1aaaf69d4fcfd 100755
(executable)
--- a/
exec/bkgpslog
+++ b/
exec/bkgpslog
@@
-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 ;