summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-03-22 19:53:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-23 11:41:13 +0000
commit4626289e67f1438aaaf5e6371a639f4ebf99cd1e (patch)
tree4c0046bd6f14650b48f8ba40aafc75af04e4c263
parent59e48153877269d5eea393ad2f6d1827f74720ac (diff)
downloadpoky-4626289e67f1438aaaf5e6371a639f4ebf99cd1e.tar.gz
classes/buildhistory: trim trailing spaces in file listings
These are mildly annoying when viewing git diffs of the buildhistory repository, so let's just get rid of them. (From OE-Core rev: c257f292bf75061647e380889487c7e2625592de) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/buildhistory.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index b559ebf8ac..38923261d3 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -391,7 +391,7 @@ buildhistory_get_sdk_installed() {
391buildhistory_list_files() { 391buildhistory_list_files() {
392 # List the files in the specified directory, but exclude date/time etc. 392 # List the files in the specified directory, but exclude date/time etc.
393 # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo 393 # This awk script is somewhat messy, but handles where the size is not printed for device files under pseudo
394 ( cd $1 && find . -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' | sort -k5 > $2 ) 394 ( cd $1 && find . -ls | awk '{ if ( $7 ~ /[0-9]/ ) printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, $7, $11, $12, $13 ; else printf "%s %10-s %10-s %10s %s %s %s\n", $3, $5, $6, 0, $10, $11, $12 }' | sort -k5 | sed 's/ *$//' > $2 )
395} 395}
396 396
397 397