fetch/perforce: Fix single file checkouts
PATCH 1/1 fetch/perforce: Fix single file checkouts
Fetching directories with p4 worked but single files did not. This patch from Helmut Auer ([email protected]) fixes that issue.
[YOCTO #7891]
Signed-off-by Richard Purdie <[email protected]>
lib/bb/fetch2/perforce.py +1 -1
@@ -123,7 +123,7 @@ class Perforce(FetchMethod): if depot.find('/...') != -1: path = depot[:depot.find('/...')] else: - path = depot + path = depot[:depot.rfind('/')] module = parm.get('module', os.path.basename(path))