IDE, lazbuild: on Unix change AllowDirectorySeparators to only /. File functions like ExtractFilePath/Name/Dir now ignore backslash \ as directory separator. The lazutils file functions already did that.

git-svn-id: trunk@42608 -
This commit is contained in:
mattias 2013-09-05 10:24:48 +00:00
parent 1efc1dff52
commit 2046de2324

View File

@ -143,6 +143,10 @@ end;
---------------------------------------------------------------------------}
procedure InternalInit;
begin
// For the Unix file functions only the slash is a directory separator.
// The RTL defines AllowDirectorySeparators ['/','\'] for historical reasons.
AllowDirectorySeparators:=['/'];
PrimaryConfigPath:=ExpandFileNameUTF8('~/.lazarus');
SecondaryConfigPath:='/etc/lazarus';
end;