diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-04-22 15:22:38 +0100 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2010-04-27 16:58:42 +0100 |
commit | 23ff2e08194221abf8f09af25d1be98efe46ffb7 (patch) | |
tree | 8c98276f4bc51c19a8d75f1858d09fe1c9d13bc8 | |
parent | d1f413ff30bb854d34e2bf3be2bcbe01170a9814 (diff) | |
download | openembedded-core-23ff2e08194221abf8f09af25d1be98efe46ffb7.tar.gz openembedded-core-23ff2e08194221abf8f09af25d1be98efe46ffb7.tar.bz2 openembedded-core-23ff2e08194221abf8f09af25d1be98efe46ffb7.zip |
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>
-rw-r--r-- | meta/classes/relocatable.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
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 |