summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-11-17 15:04:42 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:41 +0000
commitb7d667f25283cddf8ff4fc9e35425a884a9f527e (patch)
tree0432530c13fd724af4a2a6371d21d1de5278c423 /bitbake/lib/bb/fetch
parent87b6f7d27ace9d6465414c28bbba003f368a49dd (diff)
downloadpoky-b7d667f25283cddf8ff4fc9e35425a884a9f527e.tar.gz
fetch: use os.path.join
(Bitbake rev: c360b01df18d90a513a3d61d395f905102e7568e) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/fetch')
-rw-r--r--bitbake/lib/bb/fetch/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch/__init__.py b/bitbake/lib/bb/fetch/__init__.py
index c9c8bdb893..18775301a3 100644
--- a/bitbake/lib/bb/fetch/__init__.py
+++ b/bitbake/lib/bb/fetch/__init__.py
@@ -136,7 +136,7 @@ def uri_replace(uri, uri_find, uri_replace, d):
136 if d: 136 if d:
137 localfn = bb.fetch.localpath(uri, d) 137 localfn = bb.fetch.localpath(uri, d)
138 if localfn: 138 if localfn:
139 result_decoded[loc] = os.path.dirname(result_decoded[loc]) + "/" + os.path.basename(bb.fetch.localpath(uri, d)) 139 result_decoded[loc] = os.path.join(os.path.dirname(result_decoded[loc]), os.path.basename(bb.fetch.localpath(uri, d)))
140 else: 140 else:
141 return uri 141 return uri
142 return encodeurl(result_decoded) 142 return encodeurl(result_decoded)