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:
if o == '--identity':
identity = a
self.ic.signmac(identity)
# 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)