Skip to content

Instantly share code, notes, and snippets.

@kode54
Created March 17, 2014 04:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kode54/9594108 to your computer and use it in GitHub Desktop.
Save kode54/9594108 to your computer and use it in GitHub Desktop.
#!/bin/sh
FUCKING_THING_TO_SIGN=$1
FUCKING_SIGNED=0
while [ $FUCKING_SIGNED -eq 0 ]; do
codesign -s 'Developer ID Application' --deep --force "$FUCKING_THING_TO_SIGN"
spctl -a "$FUCKING_THING_TO_SIGN" && FUCKING_SIGNED=1
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment