Error: Failed to build UnrealBuildTool in Manjaro (Unreal Engine 5.0.2)

I just replied the other thread about compilation error with the fix that is currently applied in the ue5-main. The dotnet line is missing some quotes.

This is the right line:
dotnet msbuild /restore /target:build /property:Configuration=Development /nologo "$BASE_PATH/../../../Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj" /verbosity:quiet