Browse Source

Do not lowercase executable names in Unix systems.

Margers 11 months ago
parent
commit
11d542cf8f
1 changed files with 2 additions and 1 deletions
  1. 2 1
      packages/ide/fputils.pas

+ 2 - 1
packages/ide/fputils.pas

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