diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2020-12-09 18:05:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-12 14:25:14 +0000 |
commit | 4f7fddd8483c9ff012ac192478f52ed45e8fdb33 (patch) | |
tree | 113475079a0ccb46200e9968d1b063eb354fd1dc /scripts | |
parent | 3c451a84374749105f584199a1345f7313c1c0ac (diff) | |
download | poky-4f7fddd8483c9ff012ac192478f52ed45e8fdb33.tar.gz |
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.
(From OE-Core rev: 5c9931e0ffcb1663f529289f2e03c549fdb3c4da)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 282b19c0e27488ec119f00fb2542ffdc1af54e2a)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions