Skip to content

Commit

Permalink
fix ExtractFileName
Browse files Browse the repository at this point in the history
  • Loading branch information
theavege authored Jan 24, 2025
1 parent e600a90 commit 16ea4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/make.pas
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
LibPath: string = '/usr/lib/';
begin
OutLog(etDebug, #9'add:'#9 + Path);
if not FileExists(LibPath + ExtractFileNameWithoutExt(Path)) then
if not FileExists(LibPath + ExtractFileName(Path)) then
if RunCommand('sudo', ['bash', '-c', 'cp %s %s; ldconfig --verbose'.Format([Path, LibPath])], Result, [poStderrToOutPut]) then
OutLog(etInfo, #9'success!')
else
Expand Down

0 comments on commit 16ea4e7

Please sign in to comment.