[gtk-mac-bundler] Revert f2c7635. If there's no script everything else is already signed.



commit ce97fe3fb52ddddfe7f5fcb0c0ae95d7a316cbb7
Author: John Ralls <jralls ceridwen us>
Date:   Sat Jun 17 17:37:58 2017 -0700

    Revert f2c7635. If there's no script everything else is already signed.

 bundler/bundler.py |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/bundler/bundler.py b/bundler/bundler.py
index 2242d7b..4add405 100644
--- a/bundler/bundler.py
+++ b/bundler/bundler.py
@@ -492,13 +492,13 @@ class Bundler:
 # will sign every binary in the bundle with the certificate and the
 # bundle's id string.
 #
-        if "APPLICATION_CERT" in os.environ:
-            cert = os.environ["APPLICATION_CERT"]
-            ident = self.project.get_bundle_id()
-            cmdargs = ['codesign', '-s', cert, '-i', ident, "-f", path]
-            result = os.spawnvp(os.P_WAIT, 'codesign', cmdargs)
-            if result:
-                raise OSError('"'+ " ".join(cmdargs) + '" failed %d' % result)
+            if "APPLICATION_CERT" in os.environ:
+                cert = os.environ["APPLICATION_CERT"]
+                ident = self.project.get_bundle_id()
+                cmdargs = ['codesign', '-s', cert, '-i', ident, "-f", path]
+                result = os.spawnvp(os.P_WAIT, 'codesign', cmdargs)
+                if result:
+                    raise OSError('"'+ " ".join(cmdargs) + '" failed %d' % result)
 
         if self.meta.overwrite:
             self.recursive_rm(final_path)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]