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:
Eric Erhardt 2017-02-15 14:31:38 -08:00 committed by GitHub
commit 511d7e96a1

View file

@ -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>