diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/perforce.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/perforce.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/perforce.py b/bitbake/lib/bb/fetch2/perforce.py index bda0bb8096..aefc207840 100644 --- a/bitbake/lib/bb/fetch2/perforce.py +++ b/bitbake/lib/bb/fetch2/perforce.py | |||
| @@ -98,9 +98,8 @@ class Perforce(Fetch): | |||
| 98 | return cset.split(' ')[1] | 98 | return cset.split(' ')[1] |
| 99 | getcset = staticmethod(getcset) | 99 | getcset = staticmethod(getcset) |
| 100 | 100 | ||
| 101 | def localpath(self, url, ud, d): | 101 | def urldata_init(self, ud, d): |
| 102 | 102 | (host, path, user, pswd, parm) = Perforce.doparse(ud.url, d) | |
| 103 | (host, path, user, pswd, parm) = Perforce.doparse(url, d) | ||
| 104 | 103 | ||
| 105 | # If a label is specified, we use that as our filename | 104 | # If a label is specified, we use that as our filename |
| 106 | 105 | ||
| @@ -119,6 +118,7 @@ class Perforce(Fetch): | |||
| 119 | 118 | ||
| 120 | ud.localfile = data.expand('%s+%s+%s.tar.gz' % (host, base.replace('/', '.'), cset), d) | 119 | ud.localfile = data.expand('%s+%s+%s.tar.gz' % (host, base.replace('/', '.'), cset), d) |
| 121 | 120 | ||
| 121 | def localpath(self, url, ud, d): | ||
| 122 | return os.path.join(data.getVar("DL_DIR", d, 1), ud.localfile) | 122 | return os.path.join(data.getVar("DL_DIR", d, 1), ud.localfile) |
| 123 | 123 | ||
| 124 | def download(self, loc, ud, d): | 124 | def download(self, loc, ud, d): |
