浏览代码

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

git-svn-id: branches/svenbarth/symobi@18146 -
svenbarth 14 年之前
父节点
当前提交
099f7516a6
共有 1 个文件被更改,包括 5 次插入0 次删除
  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