diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/abuild/abuild.sh | 3 |
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 |