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):
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()