diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2')
| -rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index de36f06bfc..ab992b7ea7 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
| @@ -371,6 +371,9 @@ def decodeurl(url): | |||
| 371 | elif type.lower() == 'file': | 371 | elif type.lower() == 'file': |
| 372 | host = "" | 372 | host = "" |
| 373 | path = location | 373 | path = location |
| 374 | if user: | ||
| 375 | path = user + '@' + path | ||
| 376 | user = "" | ||
| 374 | else: | 377 | else: |
| 375 | host = location | 378 | host = location |
| 376 | path = "/" | 379 | path = "/" |
