Skip to content

Commit

Permalink
Add quotes around define constants to fix mod building on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Chicken-Bones committed Jan 9, 2022
1 parent 4907657 commit 7a2bb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/tModLoader/Terraria/release_extras/tMLMod.targets
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
<Reference Remove="$(tMLLibraryPath)/**/*.resources.dll" />
</ItemGroup>
<Target Name="BuildMod" AfterTargets="Build">
<Exec Command="dotnet $(tMLServerPath) -build $(ProjectDir) -eac $(TargetPath) -define $(DefineConstants) -unsafe $(AllowUnsafeBlocks) $(ExtraBuildModFlags)" WorkingDirectory="$(tMLSteamPath)"/>
<Exec Command="dotnet $(tMLServerPath) -build $(ProjectDir) -eac $(TargetPath) -define &quot;$(DefineConstants)&quot; -unsafe $(AllowUnsafeBlocks) $(ExtraBuildModFlags)" WorkingDirectory="$(tMLSteamPath)"/>
</Target>
</Project>

0 comments on commit 7a2bb00

Please sign in to comment.