From: Joshua Lock Date: Thu, 22 Apr 2010 14:22:38 +0000 (+0100) Subject: relocatable.bbclass: Normalise the generated path X-Git-Tag: 2011-1~6022 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23ff2e08194221abf8f09af25d1be98efe46ffb7;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 --- diff --git a/meta/classes/relocatable.bbclass b/meta/classes/relocatable.bbclass index 36545530c71..a924a551abd 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