[bockbuild] Fix a packaging regression
authorAlexis Christoforides <alexis@thenull.net>
Wed, 18 Jan 2017 20:21:07 +0000 (15:21 -0500)
committerAlexis Christoforides <alexis@thenull.net>
Wed, 18 Jan 2017 20:21:58 +0000 (15:21 -0500)
packaging/MacSDK/profile.py

index ab1fc9df931da7b8a73a2e3c0cd4563e51225ed0..119678f9e7575bc876ce092d0e9ce4e6d26262e7 100755 (executable)
@@ -242,7 +242,7 @@ class MonoReleaseProfile(DarwinProfile):
     def run_pkgbuild(self, working_dir, package_type):
         print 'Running pkgbuild & productbuild...',
         info = self.package_info(package_type)
-        output = os.path.join(self.resource_path, info["filename"])
+        output = os.path.join(self.directory, info["filename"])
         identifier = "com.xamarin.mono-" + info["type"] + ".pkg"
         resources_dir = os.path.join(working_dir, "resources")
         distribution_xml = os.path.join(resources_dir, "distribution.xml")