diff options
author | Michael Lauer <mickey@vanille-media.de> | 2005-08-10 16:37:30 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-10 16:37:30 +0000 |
commit | f8c0794f1ab6872cfeebc72217984b4417991fb3 (patch) | |
tree | fe9f0bd52d567ff015ec4d5174555b935fb4d06d /classes | |
parent | 1556b699992c606401e4bd5aa4153cda8639b9ad (diff) |
debian.bbclass: replace package name only once to fix it for corner cases
(libname appearing in right hand of package name, i.e. 'libe')
Diffstat (limited to 'classes')
-rw-r--r-- | classes/debian.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/debian.bbclass b/classes/debian.bbclass index 2480ffd664..d66c1fc763 100644 --- a/classes/debian.bbclass +++ b/classes/debian.bbclass @@ -79,7 +79,7 @@ python debian_package_name_hook () { if pkg == orig_pkg: newpkg = pkgname else: - newpkg = pkg.replace(orig_pkg, devname) + newpkg = pkg.replace(orig_pkg, devname, 1) if newpkg != pkg: bb.data.setVar('PKG_' + pkg, newpkg, d) |