From e38a19372009f39a8814cdee05faf0251640489c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 4 Dec 2005 20:42:37 +0000 Subject: oops. no false positives please. git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2133 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/abuild/abuild.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') diff --git a/util/abuild/abuild.sh b/util/abuild/abuild.sh index 14b21ba185..b0ccf666fb 100755 --- a/util/abuild/abuild.sh +++ b/util/abuild/abuild.sh @@ -179,9 +179,10 @@ function compile_target cd $TARGET/${VENDOR}_${MAINBOARD} stime=`date +%s` eval $MAKE &> make.log + ret=$? etime=`date +%s` duration=$(( $etime - $stime )) - if [ $? -eq 0 ]; then + if [ $ret -eq 0 ]; then echo "ok" > compile.status echo "ok. (took ${duration}s)" cd $CURR -- cgit v1.2.3