dotnet: version.after_comma points to empty string (#30755)

`version '1.1.1'` does not have any value after comma, therefore `version.after_comma` will point to empty string.
This commit is contained in:
Sergey Yanchi 2017-03-09 13:51:14 +02:00 committed by Vítor Galvão
parent c54abe790e
commit 69988d1803
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ cask 'dotnet' do
# Patch .NET Core to use the latest version of OpenSSL installed via Homebrew.
# https://github.com/PowerShell/PowerShell/blob/master/docs/installation/linux.md#openssl
postflight do
dotnet_core = "/usr/local/share/dotnet/shared/Microsoft.NETCore.App/#{version.after_comma}"
dotnet_core = "/usr/local/share/dotnet/shared/Microsoft.NETCore.App/#{version}"
system_command '/usr/bin/install_name_tool',
args: [
"#{dotnet_core}/System.Security.Cryptography.Native.OpenSsl.dylib",