Parcourir la source

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

git-svn-id: branches/svenbarth/symobi@18146 -
svenbarth il y a 14 ans
Parent
commit
099f7516a6
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      compiler/options.pas

+ 5 - 0
compiler/options.pas

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