oops. no false positives please.

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2133 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2005-12-04 20:42:37 +00:00
parent d8913a48d0
commit e38a193720
1 changed files with 2 additions and 1 deletions

View File

@ -179,9 +179,10 @@ function compile_target
cd $TARGET/${VENDOR}_${MAINBOARD} cd $TARGET/${VENDOR}_${MAINBOARD}
stime=`date +%s` stime=`date +%s`
eval $MAKE &> make.log eval $MAKE &> make.log
ret=$?
etime=`date +%s` etime=`date +%s`
duration=$(( $etime - $stime )) duration=$(( $etime - $stime ))
if [ $? -eq 0 ]; then if [ $ret -eq 0 ]; then
echo "ok" > compile.status echo "ok" > compile.status
echo "ok. (took ${duration}s)" echo "ok. (took ${duration}s)"
cd $CURR cd $CURR