classes/insane.bbclass: quote filenames to avoid problems with funny characters....
authorMichael Krelin <hacker@klever.net>
Tue, 29 May 2007 19:19:06 +0000 (19:19 +0000)
committerMichael Krelin <hacker@klever.net>
Tue, 29 May 2007 19:19:06 +0000 (19:19 +0000)
classes/insane.bbclass

index 9f243c8..bea1130 100644 (file)
@@ -219,7 +219,7 @@ def package_qa_check_rpath(file,name,d):
         bb.fatal("This class assumed that WORKDIR is ${TMPDIR}/work... Not doing any check")
 
     #bb.note("%s -B -F%%r#F %s" % (scanelf,file))
-    output = os.popen("%s -B -F%%r#F %s" % (scanelf,file))
+    output = os.popen("%s -B -F%%r#F '%s'" % (scanelf,file))
     txt    = output.readline().split()
     #bb.note("???%s???" % bad_dir_test)
     for line in txt: