don't try to make crossgen executable if crossgen is disabled (it might not exist!)

This commit is contained in:
Steve Desmond 2017-02-15 15:39:45 -05:00
parent 4cc0f9d8a5
commit bcad939b91

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" />