should fail if xcodebuild fails #174

jorgenpt opened this Issue Jan 17, 2012 · 1 comment


None yet

2 participants


Currently, if any step fails, the script will continue on running. It'd be cleaner (and easier to figure out what went wrong) if it stopped once an error did occur - you can achieve this by just adding "set -e" to the top of the script (and switching it to bash instead of sh). set -e enables 'errexit', which exits the script with error code 1 if a simple command returns a non-zero status.

tomaz commented Jan 19, 2012

Hm, not familiar with this - the whole install script was contribution of an appledoc user. Does it work for you with your fix?Could you send me the updated file (yea, lame of me, but I'm currently too busy with other work :))

@tomaz tomaz pushed a commit that closed this issue Jan 23, 2012
@jorgenpt jorgenpt Use bash & errexit to exit if something fails.
This fixes GH-174.
@tomaz tomaz closed this in bb95f90 Jan 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment