diff options
author | Christopher Costa <chcosta@microsoft.com> | 2017-02-14 11:47:56 -0800 |
---|---|---|
committer | Christopher Costa <chcosta@microsoft.com> | 2017-02-14 11:47:56 -0800 |
commit | 03a5ce1fd26d4730ea5e6b3aa9487868308de6f3 (patch) | |
tree | 2a9bfb37587e1b45b096165837a8f2aae057c97d /src/.nuget/dir.props | |
parent | 7f2137c4c90c7f3c6e83195d58260019b4b478b4 (diff) | |
download | coreclr-03a5ce1fd26d4730ea5e6b3aa9487868308de6f3.tar.gz coreclr-03a5ce1fd26d4730ea5e6b3aa9487868308de6f3.tar.bz2 coreclr-03a5ce1fd26d4730ea5e6b3aa9487868308de6f3.zip |
Default distrorid on osx
Diffstat (limited to 'src/.nuget/dir.props')
-rw-r--r-- | src/.nuget/dir.props | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/.nuget/dir.props b/src/.nuget/dir.props index f184e0de9e..0d9959d07f 100644 --- a/src/.nuget/dir.props +++ b/src/.nuget/dir.props @@ -4,12 +4,14 @@ <PropertyGroup> <!-- Distro rid is passed as runtimeos-arch--> - <_distroRidIndex>$(__DistroRid.IndexOfAny("-"))</_distroRidIndex> + <_parseDistroRid>$(__DistroRid)</_parseDistroRid> + <_parseDistroRid Condition="'$(_parseDistroRid)' == '' and '$(__BuildOS)' == 'OSX'">osx.10.10<_parseDistroRid> + <_distroRidIndex>$(_parseDistroRid.IndexOfAny("-"))</_distroRidIndex> <_archRidIndex>$([MSBuild]::Add($(_distroRidIndex), 1))</_archRidIndex> - <OSRid Condition="'$(OSRid)' == '' and '$(_distroRidIndex)' != '-1'">$(__DistroRid.SubString(0, $(_distroRidIndex)))</OSRid> + <OSRid Condition="'$(OSRid)' == '' and '$(_distroRidIndex)' != '-1'">$(_parseDistroRid.SubString(0, $(_distroRidIndex)))</OSRid> <OSRid Condition="'$(OSRid)' == ''">win10</OSRid> - <ArchGroup Condition="'$(ArchGroup)' == '' and '$(_archRidIndex)' != '0'">$(__DistroRid.SubString($(_archRidIndex)))</ArchGroup> + <ArchGroup Condition="'$(ArchGroup)' == '' and '$(_archRidIndex)' != '0'">$(_parseDistroRid.SubString($(_archRidIndex)))</ArchGroup> <ArchGroup Condition="'$(ArchGroup)' == '' and '$(Platform)' != ''">$(Platform)</ArchGroup> <ArchGroup Condition="'$(ArchGroup)' == ''">$(BuildArch)</ArchGroup> |