diff options
Diffstat (limited to 'meta/classes/license.bbclass')
-rw-r--r-- | meta/classes/license.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index 621c1b2f55..0160313e2e 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass | |||
@@ -28,8 +28,7 @@ license_create_manifest() { | |||
28 | fi | 28 | fi |
29 | touch ${LICENSE_MANIFEST} | 29 | touch ${LICENSE_MANIFEST} |
30 | for pkg in ${INSTALLED_PKGS}; do | 30 | for pkg in ${INSTALLED_PKGS}; do |
31 | # not the best way to do this but licenses are not arch dependant iirc | 31 | filename=`ls ${PKGDATA_DIR}/runtime-reverse/${pkg}| head -1` |
32 | filename=`ls ${TMPDIR}/pkgdata/*/runtime-reverse/${pkg}| head -1` | ||
33 | pkged_pn="$(sed -n 's/^PN: //p' ${filename})" | 32 | pkged_pn="$(sed -n 's/^PN: //p' ${filename})" |
34 | 33 | ||
35 | # check to see if the package name exists in the manifest. if so, bail. | 34 | # check to see if the package name exists in the manifest. if so, bail. |