summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index b0f44c7faf..48bb9828f5 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -747,7 +747,7 @@ python split_and_strip_files () {
747 # 16 - kernel module 747 # 16 - kernel module
748 def isELF(path): 748 def isELF(path):
749 type = 0 749 type = 0
750 ret, result = oe.utils.getstatusoutput("file '%s'" % path) 750 ret, result = oe.utils.getstatusoutput("file \"%s\"" % path.replace("\"", "\\\""))
751 751
752 if ret: 752 if ret:
753 msg = "split_and_strip_files: 'file %s' failed" % path 753 msg = "split_and_strip_files: 'file %s' failed" % path