|
From: <do_...@wu...> - 2011-11-18 22:35:26
|
Author: kurtis.heimerl
Date: 2011-11-18 16:35:19 -0600 (Fri, 18 Nov 2011)
New Revision: 2573
Modified:
software/public/RRLP/trunk/rrlpserver.erl
Log:
we don't require specialized directories in the public build
Modified: software/public/RRLP/trunk/rrlpserver.erl
===================================================================
--- software/public/RRLP/trunk/rrlpserver.erl 2011-11-18 22:13:58 UTC (rev 2572)
+++ software/public/RRLP/trunk/rrlpserver.erl 2011-11-18 22:35:19 UTC (rev 2573)
@@ -731,7 +731,7 @@
Table = parseTable(),
% read the file
% the url and max cache time are config params
- Lines = getFile("/var/run/rrlp/almanac", getStr("GSM.RRLP.ALMANAC.URL"), getNum("GSM.RRLP.ALMANAC.REFRESH.TIME")),
+ Lines = getFile("/var/run/almanac", getStr("GSM.RRLP.ALMANAC.URL"), getNum("GSM.RRLP.ALMANAC.REFRESH.TIME")),
% io:format("Lines=~p\n", [Lines]),
% Apply the parser to the lines.
parseAlmanac([], Lines, [], Table, 0).
@@ -907,7 +907,7 @@
% read the adjustment table that gives corrections, scaling, etc
AdjustTable = ephemerisAdjustTable(),
% read the file. the url and max cache age are config params
- Lines = getFile("/var/run/rrlp/ephemeris", getStr("GSM.RRLP.EPHEMERIS.URL"), getNum("GSM.RRLP.EPHEMERIS.REFRESH.TIME")),
+ Lines = getFile("/var/run/ephemeris", getStr("GSM.RRLP.EPHEMERIS.URL"), getNum("GSM.RRLP.EPHEMERIS.REFRESH.TIME")),
% io:format("Lines=~p\n", [Lines]),
% parse the lines from the global part of the ephemeris
% RestOfLines = the satellite part of the ephemeris
|