Explorar o código

Add "/system/conf" as configuration directory on Symobi

git-svn-id: branches/svenbarth/symobi@18146 -
svenbarth %!s(int64=14) %!d(string=hai) anos
pai
achega
099f7516a6
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      compiler/options.pas

+ 5 - 0
compiler/options.pas

@@ -2406,6 +2406,11 @@ begin
        foundfn:=exepath+fn
      else
 {$else}
+  {$ifdef symobi}
+      if CfgFileExists('/system/conf/'+fn) then
+       foundfn:='/system/conf/'+fn
+	 else  
+  {$endif}
       if CfgFileExists('/etc/'+fn) then
        foundfn:='/etc/'+fn
      else