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

git-svn-id: trunk@9314 -
This commit is contained in:
peter 2007-11-21 22:00:48 +00:00
parent 44d9f35eef
commit 093237e74d

View File

@ -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