[MacSDK] Remove quotes in nuget wrapper script
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 13 Jun 2017 22:45:58 +0000 (00:45 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 13 Jun 2017 22:45:58 +0000 (00:45 +0200)
None of the other wrapper scripts quote the Mono path and this
broke the Windows packaging script which extracts nuget from the
Mac package.

packaging/MacSDK/nuget.py

index a2cd4ec5860561bdcca9be7514b1f8655ab48531..a28b37c0a07b0cb1c751d8609805712c93f7e6df 100644 (file)
@@ -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()