summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-08 12:09:12 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-08 12:09:12 +0200
commit16c784fe9865bae3a09f009d02195c44313c5b8a (patch)
tree8e7310ada7b1f80fb8f70af742775a7da4f75893
parent4d2455edac06dc4cb0ed98c074a97dd67b4f3275 (diff)
Unlock the keychain later so it has less chance of timing out.
AFAICS there is a timeout... we could probably extend it, but this seems to help.
-rwxr-xr-xcdist2
1 files changed, 1 insertions, 1 deletions
diff --git a/cdist b/cdist
index ea9d584..6d704fc 100755
--- a/cdist
+++ b/cdist
@@ -765,8 +765,8 @@ class OSXTarget(Target):
self.command('security unlock-keychain -p %s %s' % (self.osx_keychain_password, self.osx_keychain_file))
def package(self, project, checkout, output_dir, options, notarize):
- self.unlock_keychain()
tree = globals.trees.get(project, checkout, self)
+ self.unlock_keychain()
with TreeDirectory(tree):
p = self._cscript_package_and_notarize(tree, options, self.can_notarize and notarize)
self._copy_packages(tree, p, output_dir)