summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2005-12-04 20:42:37 +0000
committerStefan Reinauer <stepan@openbios.org>2005-12-04 20:42:37 +0000
commite38a19372009f39a8814cdee05faf0251640489c (patch)
treebc9c9f22b5583fc5286874085b972a05370c10d8
parentd8913a48d0bc610ba36bdd453d5d4cfeb3128d27 (diff)
oops. no false positives please.
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2133 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rwxr-xr-xutil/abuild/abuild.sh3
1 files changed, 2 insertions, 1 deletions
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