Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / packaging / MacSDK / nuget.py
index a2cd4ec5860561bdcca9be7514b1f8655ab48531..61de39e94ad88e55b9076b1bdcfbc09eb2660703 100644 (file)
@@ -4,7 +4,7 @@ import fileinput
 class NuGetBinary (Package):
 
     def __init__(self):
-        Package.__init__(self, name='NuGet', version='4.3.0-preview1', sources=[
+        Package.__init__(self, name='NuGet', version='4.3.0', sources=[
                          'https://dist.nuget.org/win-x86-commandline/v%{version}/nuget.exe'])
 
     def build(self):
@@ -21,6 +21,6 @@ class NuGetBinary (Package):
         with open(launcher, "w") as output:
             output.write("#!/bin/sh\n")
             output.write(
-                'exec "{0}/bin/mono" $MONO_OPTIONS "{1}" "$@"\n'.format(self.staged_prefix, target))
+                'exec {0}/bin/mono $MONO_OPTIONS {1} "$@"\n'.format(self.staged_prefix, target))
         os.chmod(launcher, 0o755)
 NuGetBinary()