#!bin/sh source ${CMTROOT}/mgr/setup.sh; if [ -f xcode_tmpFile.tmp ]; then rm xcode_tmpFile.tmp; fi echo ""; echo "cmt config............"; cmt config > xcode_tmpFile.tmp; more xcode_tmpFile.tmp; nb_warn=`grep "Warning:" xcode_tmpFile.tmp | wc -l`; if [ -f xcode_tmpFile.tmp ]; then rm xcode_tmpFile.tmp; fi if [ $nb_warn -ne 0 ]; then echo "cmt config failed.."; else echo ""; echo "setup.sh............"; source setup.sh; echo ""; echo "cmt make............"; cmt make; fi