lib/oe/path.py: support missing directory components in realpath()
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>
Mon, 11 Feb 2013 19:21:52 +0000 (20:21 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 11 Feb 2013 22:45:25 +0000 (22:45 +0000)
commitad4c98557d2477c64ac4f92a3d1591427dce8986
tree3cbe5aaa925e46a596b1460d87737eb47392ec64
parent1bb26b0deb6cdeec473c9c55fc2e5e4d8d2bae91
lib/oe/path.py: support missing directory components in realpath()

Some use cases in OE operate on symlinks which dangling path components.
Assume that these are directories instead of raising ENOENT.

(From OE-Core rev: a96e2c84f24c15b77ee1fbc1f998b8b4796b8664)

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py
meta/lib/oe/tests/test_path.py