Revert "base.bbclass: fix bug with absolute file:// uris"
authorChris Larson <chris_larson@mentor.com>
Tue, 31 Aug 2010 14:29:38 +0000 (07:29 -0700)
committerChris Larson <chris_larson@mentor.com>
Tue, 31 Aug 2010 14:29:38 +0000 (07:29 -0700)
Drop this for now, as it breaks other things.  Of course, without this, you
once again can no longer have absolute file:// paths the way we used to be
able to.  Will look into it further.

This reverts commit 599b03fe999d41114d124ce663b6c59fa57256d8.

classes/base.bbclass

index 0d8630e..afc30da 100644 (file)
@@ -231,9 +231,9 @@ def oe_unpack_file(file, data, url = None):
        if not cmd:
                return True
        if not host:
-               dest = oe.path.join(os.getcwd(), path)
+               dest = os.path.join(os.getcwd(), path)
        else:
-               dest = oe.path.join(os.getcwd(), oe.path.join(host, path))
+               dest = os.path.join(os.getcwd(), os.path.join(host, path))
        if os.path.exists(dest):
                if os.path.samefile(file, dest):
                        return True