summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-13 20:52:12 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2009-01-13 20:52:38 +0100
commit71cae72fde9df6564ccf9ed6b8ace6163f422be1 (patch)
treea3175c6486a3c8fc65bfc7dabcf42ccd292ee03d /classes
parent1849155ff9d65bad400d8c00f51e0a1d1e84c32b (diff)
package_tar.bbclass: fix traceback for empty package
Diffstat (limited to 'classes')
-rw-r--r--classes/package_tar.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package_tar.bbclass b/classes/package_tar.bbclass
index e5d3f74126..76f48ca429 100644
--- a/classes/package_tar.bbclass
+++ b/classes/package_tar.bbclass
@@ -85,7 +85,7 @@ python do_package_tar () {
os.chdir(root)
from glob import glob
if not glob('*'):
- bb.note("Not creating empty archive for %s" % (pkg, bb.data.expand('${PV}-${PR}${DISTRO_PR}', d, True)))
+ bb.note("Not creating empty archive for %s-%s" % (pkg, bb.data.expand('${PV}-${PR}${DISTRO_PR}', d, True)))
continue
ret = os.system("tar -czf %s %s" % (tarfn, '.'))
if ret != 0: