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>
|
</RemoveDuplicates>
|
||||||
|
|
||||||
<!-- Ensure crossgen tool is executable. See https://github.com/NuGet/Home/issues/4424 -->
|
<!-- 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)"
|
File="$(CrossgenPath)"
|
||||||
Mode="u+x" />
|
Mode="u+x" />
|
||||||
|
|
||||||
|
@ -281,4 +281,4 @@
|
||||||
Projects="@(TemplatesToBundle)">
|
Projects="@(TemplatesToBundle)">
|
||||||
</MSBuild>
|
</MSBuild>
|
||||||
</Target>
|
</Target>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue