Przeglądaj źródła

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

git-svn-id: trunk@9314 -
peter 17 lat temu
rodzic
commit
093237e74d
1 zmienionych plików z 1 dodań i 0 usunięć
  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