From 23ff2e08194221abf8f09af25d1be98efe46ffb7 Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Thu, 22 Apr 2010 15:22:38 +0100 Subject: 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 --- meta/classes/relocatable.bbclass | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/classes/relocatable.bbclass') diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass index 36545530c7..a924a551ab 100644 --- a/meta/classes/relocatable.bbclass +++ b/meta/classes/relocatable.bbclass @@ -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 -- cgit v1.2.3-54-g00ecf