Browse Source

* Use expandfilename to remove ../.. from FPCDIR for non-unix

git-svn-id: trunk@9314 -
peter 18 năm trước cách đây
mục cha
commit
093237e74d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      utils/fppkg/pkgoptions.pp

+ 1 - 0
utils/fppkg/pkgoptions.pp

@@ -463,6 +463,7 @@ begin
          not(DirectoryExists(FGlobalInstallDir+'/rtl')) then
         FGlobalInstallDir:=FGlobalInstallDir+'../';
     end;
+  FGlobalInstallDir:=ExpandFileName(FGlobalInstallDir);
 {$endif unix}
   Log(vDebug,SLogDetectedFPCDIR,['global',FGlobalInstallDir]);
   // User writable install directory