relocatable.bbclass: Normalise the generated path
The generated path we create for the binaries RPATH can have a lot of directory separators in. Use os.path.normpath() to tidy it up and only include the required directory separators. This patch is purely to appease my personal sense of niceness... Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
parent
d1f413ff30
commit
23ff2e0819
|
@ -18,6 +18,7 @@ def process_dir (directory, d):
|
|||
dirs = os.listdir(directory)
|
||||
for file in dirs:
|
||||
fpath = directory + "/" + file
|
||||
fpath = os.path.normpath(fpath)
|
||||
if os.path.islink(fpath):
|
||||
# Skip symlinks
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue