[OE-core] [PATCH 07/24] distutils3.bbclass: Port the distutils class fix to handle filenames with spaces

Khem Raj raj.khem at gmail.com
Fri Jun 28 22:03:52 UTC 2013


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/classes/distutils3.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/distutils3.bbclass b/meta/classes/distutils3.bbclass
index 3738b14..602ce48 100644
--- a/meta/classes/distutils3.bbclass
+++ b/meta/classes/distutils3.bbclass
@@ -51,7 +51,7 @@ distutils3_do_install() {
         echo "Step 3 of ${PN} Install ..."
         # support filenames with *spaces*
         find ${D} -name "*.py" -print0 | while read -d $'\0' i ; do \
-            sed -i -e s:${D}::g $i
+            sed -i -e s:${D}::g "$i"
         done
 
         echo "Step 4 of ${PN} Install ..."
-- 
1.7.9.5




More information about the Openembedded-core mailing list