23 Feb 2012 23:19
SBU report
Peter Palmer <peter <at> galama.org>
2012-02-23 22:19:47 GMT
2012-02-23 22:19:47 GMT
Hi,
here a tiny fist patch (from myself) to fix the SBU report that wasn't
running (current jhalfs svn and CLFS-1.2). I'm new to lfs/jhalfs
development so I hope the format and everything is right and usable.
Schedule of changes:
1. Variables needed initailising as perl was tipping over trying to
substract without that, i.e.:
INSTALLMB=`perl -e 'printf "%.3f" , ('$DU1MB' - '$DU1MBPREV')';`
2. The other change affects the selection of the very first entry of
the $LOGS directory. In CLFS this was a script that run in fractions
of a second... SBU is supposed to be based on the compilation time of
binutils though.
Any feedback appreciated.
Cheers,
Peter
#################################################
diff --git a/common/create-sbu_du-report.sh b/common/create-sbu_du-report.sh
index 115d95d..24ed5a6 100755
--- a/common/create-sbu_du-report.sh
+++ b/common/create-sbu_du-report.sh
<at> <at> -5,7 +5,8 <at> <at> set -e
(Continue reading)
RSS Feed