stop if ./misc/mac.sh fails