mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 20:09:25 +02:00
* Config file in home dir has . prepended on unix
git-svn-id: trunk@37828 -
This commit is contained in:
parent
5cbdf4d30c
commit
44b2419d5e
@ -2054,7 +2054,10 @@ begin
|
||||
// first try HOME directory
|
||||
aFilename:=ChompPathDelim(GetEnvironmentVariableUTF8('HOME'));
|
||||
if aFilename<>'' then
|
||||
if TryConfig(aFilename+PathDelim+DefaultConfigFile) then exit;
|
||||
begin
|
||||
aFilename:=aFilename+PathDelim{$IFDEF UNIX}+'.'{$ENDIF}+DefaultConfigFile;
|
||||
if TryConfig(aFileName) then exit;
|
||||
end;
|
||||
|
||||
// then try compiler directory
|
||||
if (CompilerExe<>'') then begin
|
||||
|
Loading…
Reference in New Issue
Block a user