don't try to make crossgen executable if crossgen is disabled (it might not exist!)
This commit is contained in:
parent
4cc0f9d8a5
commit
bcad939b91
1 changed files with 2 additions and 2 deletions
|
@ -191,7 +191,7 @@
|
|||
</RemoveDuplicates>
|
||||
|
||||
<!-- Ensure crossgen tool is executable. See https://github.com/NuGet/Home/issues/4424 -->
|
||||
<Chmod Condition=" '$(OSName)' != 'win' "
|
||||
<Chmod Condition=" '$(OSName)' != 'win' And '$(DISABLE_CROSSGEN)' != '1' "
|
||||
File="$(CrossgenPath)"
|
||||
Mode="u+x" />
|
||||
|
||||
|
@ -281,4 +281,4 @@
|
|||
Projects="@(TemplatesToBundle)">
|
||||
</MSBuild>
|
||||
</Target>
|
||||
</Project>
|
||||
</Project>
|
||||
|
|
Loading…
Add table
Reference in a new issue