"Permission denied" on Unix when generating a font
ForNeVeR opened this issue · comments
Friedrich von Never commented
See this commit: https://github.com/ForNeVeR/O21/blob/a981a8cf00733f89895dbd804ae7ae7eb01d1369/O21.Game/O21.Game.fsproj
This yields the following output on Linux or macOS:
Restore was successful.
/tmp/O21/O21.Game/Resources/Inter.spritefont
Building Font /tmp/O21/O21.Game/Resources/Inter-Regular.otf
/usr/bin/sh: 2: /tmp/MSBuildTempfornever/tmp6cfe20b3b5ef4fe4bc2f55d30ce23a79.exec.cmd: Resources/Inter.spritefont: Permission denied
The issue seems to be in the ;
that somehow got added to the end of the item list (even if it shouldn't):
dotnet mgcb /quiet /workingDir:"/tmp/O21/O21.Game" /outputDir:"/tmp/O21/O21.Game/obj//mgcb-msbuilder/out" /intermediateDir:"/tmp/O21/O21.Game/obj//mgcb-msbuilder/obj" /platform:DesktopGL /profile:HiDef /config:Debug /rebuild /importer:FontDescriptionImporter /processor:FontDescriptionProcessor /processorParam:Processor_TextureFormat=Compressed /processorParam:Processor_PremultiplyAlpha=false /build:Resources/Inter.spritefont;Resources/Inter.spritefont