summaryrefslogtreecommitdiff
path: root/comms/cqrlog/files/patch-src_dUtils.pas
blob: 85fc92b9e524d97ec64a7d0a4707c830e142c8ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- src/dUtils.pas.orig	2018-06-17 12:42:42 UTC
+++ src/dUtils.pas
@@ -2376,7 +2376,7 @@ var
   proj: string = '';
 begin
   Result := '';
-  Result := cqrini.ReadString('xplanet', 'path', '/usr/bin/xplanet');
+  Result := cqrini.ReadString('xplanet', 'path', '%%LOCALBASE%%/bin/xplanet');
   myloc := cqrini.ReadString('Station', 'LOC', '');
   if not FileExists(Result) then
   begin
@@ -2667,7 +2667,7 @@ begin
   if Device = '' then
     exit;
 
-  cmd := cqrini.ReadString('TRX', 'Path', '/usr/bin/rigctld');
+  cmd := cqrini.ReadString('TRX', 'Path', '%%LOCALBASE%%/bin/rigctld');
   if not FileExists(cmd) then
     exit;
   cmd := cmd + ' --model=' + rigid;