mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 09:49:32 +02:00
buildstats-plot.sh: fix invoking buildstats.sh
Fix the internal call to buildstats.sh by also providing the buildstats folder location in the system, which might differ from the default location. (From OE-Core rev: 9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d) Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3aba12edbb
commit
5ea725cd5a
@@ -101,7 +101,7 @@ CD=$(dirname $0)
|
|||||||
|
|
||||||
# Parse buildstats recipes to produce a single table
|
# Parse buildstats recipes to produce a single table
|
||||||
OUTBUILDSTATS="$PWD/buildstats.log"
|
OUTBUILDSTATS="$PWD/buildstats.log"
|
||||||
$CD/buildstats.sh -H -s "$STATS" -H > $OUTBUILDSTATS
|
$CD/buildstats.sh -b "$BS_DIR" -s "$STATS" -H > $OUTBUILDSTATS
|
||||||
|
|
||||||
# Get headers
|
# Get headers
|
||||||
HEADERS=$(cat $OUTBUILDSTATS | sed -n -e '1s/ /-/g' -e '1s/:/ /gp')
|
HEADERS=$(cat $OUTBUILDSTATS | sed -n -e '1s/ /-/g' -e '1s/:/ /gp')
|
||||||
|
|||||||
Reference in New Issue
Block a user