Couple more 'bockbuild split' mixups
authorAlexis Christoforides <alexis@thenull.net>
Tue, 25 Oct 2016 22:12:51 +0000 (18:12 -0400)
committerAlexis Christoforides <alexis@thenull.net>
Tue, 25 Oct 2016 22:12:51 +0000 (18:12 -0400)
bockbuild/MacSDK/mono.py
bockbuild/MacSDKRelease/profile.py

index b3f5ef5b99dfa2faf573eb5eb217c5aea40571f1..9fe649130f2a037773445b3b19c4bc54b9623c40 100644 (file)
@@ -92,7 +92,7 @@ class MonoMasterPackage(Package):
             (xbuild_dir, new_xbuild_tv_dir))
 
     def deploy(self):
-        if self.profile.arch == 'darwin-universal':
+        if bockbuild.cmd_options.arch == 'darwin-universal':
             os.symlink('mono-sgen64', '%s/bin/mono64' % self.staged_profile)
             os.symlink('mono-sgen32', '%s/bin/mono32' % self.staged_profile)
 
index 59b9faf837931693665b6b61ea1b9197f6532dc7..8638324e74ca32c90b37add51cfa56452f0383fb 100755 (executable)
@@ -53,7 +53,7 @@ class MonoXamarinPackageProfile(MonoReleaseProfile):
             output), os.path.basename(output).replace('.pkg', '.UNSIGNED.pkg'))
         shutil.move(output, output_unsigned)
 
-        if not self.cmd_options.release_build:
+        if not bockbuild.cmd_options.release_build:
             return output_unsigned
 
         productsign = "/usr/bin/productsign"