newcollection: fix host/path issue
authorChris Larson <chris_larson@mentor.com>
Fri, 12 Nov 2010 23:11:13 +0000 (16:11 -0700)
committerChris Larson <chris_larson@mentor.com>
Fri, 12 Nov 2010 23:13:08 +0000 (16:13 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
classes/newcollection.bbclass

index 2a76811..20794f6 100644 (file)
@@ -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(";")