]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/path: Add canonicalize()
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Wed, 9 Dec 2020 17:05:07 +0000 (18:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 20 Dec 2020 00:03:00 +0000 (00:03 +0000)
commit282b19c0e27488ec119f00fb2542ffdc1af54e2a
tree94ec56b1e6d45fc4ce15017c81795dd23dbcb6ac
parentc04f04e714ede5d3904058ec82459139ed5e42fa
lib/oe/path: Add canonicalize()

oe.path.canonicalize() is used to canonicalize paths (i.e., remove
symbolic links and "..", and make them absolute). It takes a string
with paths separated by commas, and returns the canonicalized path in
the same format.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py