summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/siggen.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 86d9ca0593..28f93bae7b 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -295,10 +295,9 @@ def dump_this_task(outfile, d):
295 bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile") 295 bb.parse.siggen.dump_sigtask(fn, task, outfile, "customfile")
296 296
297def clean_basepath(a): 297def clean_basepath(a):
298 b = a.rsplit("/", 2)[1] + a.rsplit("/", 2)[2]
298 if a.startswith("virtual:"): 299 if a.startswith("virtual:"):
299 b = a.rsplit("/", 1)[1] + ":" + a.rsplit(":", 1)[0] 300 b = b + ":" + a.rsplit(":", 1)[0]
300 else:
301 b = a.rsplit("/", 1)[1]
302 return b 301 return b
303 302
304def clean_basepaths(a): 303def clean_basepaths(a):