diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/perforce.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/perforce.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index 5a6631a384..3a10c7ca33 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py  | |||
| @@ -123,7 +123,7 @@ class Perforce(FetchMethod): | |||
| 123 | if depot.find('/...') != -1: | 123 | if depot.find('/...') != -1: | 
| 124 | path = depot[:depot.find('/...')] | 124 | path = depot[:depot.find('/...')] | 
| 125 | else: | 125 | else: | 
| 126 | path = depot | 126 | path = depot[:depot.rfind('/')] | 
| 127 | 127 | ||
| 128 | module = parm.get('module', os.path.basename(path)) | 128 | module = parm.get('module', os.path.basename(path)) | 
| 129 | 129 | ||
