]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Thu, 10 Dec 2020 13:40:07 +0000 (13:40 +0000)
commit912b0c15c69efe2dec50cff6a65bde3bc0d8d5a8
treeb7a607423f09124bb44ce92b5c917830669d7b42
parent7782d4650a3b463b271af37fc0b5e363697696df
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