aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/buildhistory.bbclass14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/classes/buildhistory.bbclass b/meta/classes/buildhistory.bbclass
index 054a81fdfc5..3d459c715a6 100644
--- a/meta/classes/buildhistory.bbclass
+++ b/meta/classes/buildhistory.bbclass
@@ -439,16 +439,14 @@ 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"
+ pkgname=$(basename $pkgdir)
+ outfolder="${BUILDHISTORY_DIR_PACKAGE}/$pkgname"
+ outfile="$outfolder/files-in-package.txt"
+ # Make sure the output folder exists so we can create the file
+ if [ ! -d $outfolder ] ; then
+ bbdebug 2 "Folder $outfolder does not exist, file $outfile not created"
continue
fi
buildhistory_list_files ${pkgdir} ${outfile}