[oe-commits] Chris Larson : newcollection: fix host/path issue
git version control
git at git.openembedded.org
Fri Nov 12 23:19:44 UTC 2010
Module: openembedded.git
Branch: master
Commit: e0bcb3741e4306ce00e187ca2e0505efc5fe5d39
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e0bcb3741e4306ce00e187ca2e0505efc5fe5d39
Author: Chris Larson <chris_larson at mentor.com>
Date: Fri Nov 12 16:11:13 2010 -0700
newcollection: fix host/path issue
Signed-off-by: Chris Larson <chris_larson at mentor.com>
---
classes/newcollection.bbclass | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/classes/newcollection.bbclass b/classes/newcollection.bbclass
index 2a76811..20794f6 100644
--- a/classes/newcollection.bbclass
+++ b/classes/newcollection.bbclass
@@ -50,9 +50,8 @@ def __newcollection_get_fileuris(d):
(scheme, netloc, path, params, query, frag) = o
- if not path:
- path = netloc
- netloc = ""
+ if netloc:
+ path = netloc + path
try:
spath = path.split(";")
More information about the Openembedded-commits
mailing list