summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/fetch2/perforce.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py
index ac1bfc7df8..7491a53600 100644
--- a/bitbake/lib/bb/fetch2/perforce.py
+++ b/bitbake/lib/bb/fetch2/perforce.py
@@ -112,7 +112,7 @@ class Perforce(FetchMethod):
112 base = path 112 base = path
113 which = path.find('/...') 113 which = path.find('/...')
114 if which != -1: 114 if which != -1:
115 base = path[:which] 115 base = path[:which-1]
116 116
117 base = self._strip_leading_slashes(base) 117 base = self._strip_leading_slashes(base)
118 118