Merge pull request #5503 from eerhardt/FixCrossgen
Fix crossgen executable permissions
This commit is contained in:
commit
23207df2ae
1 changed files with 5 additions and 0 deletions
|
@ -222,6 +222,11 @@
|
||||||
<Output TaskParameter="Filtered" ItemName="CompileStageSdkDirectories" />
|
<Output TaskParameter="Filtered" ItemName="CompileStageSdkDirectories" />
|
||||||
</RemoveDuplicates>
|
</RemoveDuplicates>
|
||||||
|
|
||||||
|
<!-- Ensure crossgen tool is executable. See https://github.com/NuGet/Home/issues/4424 -->
|
||||||
|
<Chmod Condition=" '$(OSName)' != 'win' "
|
||||||
|
File="$(CrossgenPath)"
|
||||||
|
Mode="u+x" />
|
||||||
|
|
||||||
<Crossgen Condition=" '$(DISABLE_CROSSGEN)' != '1' "
|
<Crossgen Condition=" '$(DISABLE_CROSSGEN)' != '1' "
|
||||||
SourceAssembly="%(CrossgenTargets.FullPath)"
|
SourceAssembly="%(CrossgenTargets.FullPath)"
|
||||||
DestinationPath="%(CrossgenTargets.FullPath)"
|
DestinationPath="%(CrossgenTargets.FullPath)"
|
||||||
|
|
Loading…
Add table
Reference in a new issue