From 14eba06baacca25213e35afa7bfd126fc1f5586a Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Thu, 20 Aug 2015 11:55:35 +0100 Subject: classes/buildhistory: indent recently added function consistently Shell functions use tabs in this file. Signed-off-by: Paul Eggleton Signed-off-by: Ross Burton --- meta/classes/buildhistory.bbclass | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'meta/classes/buildhistory.bbclass') diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass index 77a3c864c3..054a81fdfc 100644 --- a/meta/classes/buildhistory.bbclass +++ b/meta/classes/buildhistory.bbclass @@ -439,20 +439,20 @@ buildhistory_list_files() { } buildhistory_list_pkg_files() { - file_prefix="files-in-" - - # Create individual files-in-package for each recipe's package - for pkgdir in $(find ${PKGDEST}/* -maxdepth 0 -type d); do - pkgname=$(basename ${pkgdir}) - outfolder="${BUILDHISTORY_DIR_PACKAGE}/${pkgname}" - outfile="${outfolder}/${file_prefix}${pkgname}.txt" - # Make sure the output folder, exist so we can create the files-in-$pkgname.txt file - if [ ! -d ${outfolder} ] ; then - bbdebug 2 "Folder ${outfolder} does not exist, file ${outfile} not created" - continue - fi - buildhistory_list_files ${pkgdir} ${outfile} - done + file_prefix="files-in-" + + # Create individual files-in-package for each recipe's package + for pkgdir in $(find ${PKGDEST}/* -maxdepth 0 -type d); do + pkgname=$(basename ${pkgdir}) + outfolder="${BUILDHISTORY_DIR_PACKAGE}/${pkgname}" + outfile="${outfolder}/${file_prefix}${pkgname}.txt" + # Make sure the output folder, exist so we can create the files-in-$pkgname.txt file + if [ ! -d ${outfolder} ] ; then + bbdebug 2 "Folder ${outfolder} does not exist, file ${outfile} not created" + continue + fi + buildhistory_list_files ${pkgdir} ${outfile} + done } buildhistory_get_imageinfo() { -- cgit 1.2.3-korg