Merge pull request #5722 from stevedesmond-ca/no-xgen-exe-check
don't try to make crossgen executable if crossgen is disabled (it might not exist!)
This commit is contained in:
commit
511d7e96a1
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…
Reference in a new issue