Do not lowercase executable names in Unix systems.

This commit is contained in:
Margers 2024-09-01 20:51:22 +00:00 committed by Michael Van Canneyt
parent 7949e53d8a
commit 11d542cf8f

View File

@ -155,7 +155,8 @@ begin
NoPath:=false; {Skip lowercasing path: 'X11'<>'x11' }
end;
'A'..'Z' : if NoPath then
FixFileName[i]:=AnsiChar(byte(s[i])+ord('a')-ord('A'))
{FixFileName[i]:=char(byte(s[i])+ord('a')-ord('A'))}
FixFileName[i]:=s[i] {leave case as is, not sure why lowercasing to begin with}
else
FixFileName[i]:=s[i];
{$else}