From 3b2da245330b9968c6af8b007a870c33ca53e45d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexander=20K=C3=B6plinger?= Date: Tue, 23 May 2017 00:16:22 +0200 Subject: [PATCH] Use nuget 4.3.0-preview1 to fix build 4.5.0 is not yet available. Also use lowercase nuget.exe to match the URL on https://dist.nuget.org/ --- packaging/MacSDK/nuget.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packaging/MacSDK/nuget.py b/packaging/MacSDK/nuget.py index a603b1e86ee..a2cd4ec5860 100644 --- a/packaging/MacSDK/nuget.py +++ b/packaging/MacSDK/nuget.py @@ -4,15 +4,15 @@ import fileinput class NuGetBinary (Package): def __init__(self): - Package.__init__(self, name='NuGet', version='4.5.0', sources=[ - 'https://dist.nuget.org/win-x86-commandline/v%{version}/NuGet.exe']) + Package.__init__(self, name='NuGet', version='4.3.0-preview1', sources=[ + 'https://dist.nuget.org/win-x86-commandline/v%{version}/nuget.exe']) def build(self): pass def install(self): - source = os.path.join(self.workspace, 'NuGet.exe') - target = os.path.join(self.staged_prefix, 'lib/mono/nuget/NuGet.exe') + source = os.path.join(self.workspace, 'nuget.exe') + target = os.path.join(self.staged_prefix, 'lib/mono/nuget/nuget.exe') ensure_dir(os.path.dirname(target)) shutil.move(source, target) -- 2.25.1