added codesign repeat hack

This commit is contained in:
Nick Bolton 2012-07-29 20:35:51 +00:00
parent ed2360f1b2
commit 26aafeebae
1 changed files with 9 additions and 1 deletions

View File

@ -1316,4 +1316,12 @@ class CommandHandler:
for o, a in self.opts: for o, a in self.opts:
if o == '--identity': if o == '--identity':
identity = a identity = a
# HACK: codesign fails intermittently. we need some sort of retry mechanism
# but i don't have time right now so just hammer the crap out of it and hope
# one attempt works.
self.ic.signmac(identity)
self.ic.signmac(identity)
self.ic.signmac(identity)
self.ic.signmac(identity)
self.ic.signmac(identity) self.ic.signmac(identity)