summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/package.py')
-rw-r--r--meta/lib/oe/package.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/lib/oe/package.py b/meta/lib/oe/package.py
index 599fca60f8..4f3e21ad40 100644
--- a/meta/lib/oe/package.py
+++ b/meta/lib/oe/package.py
@@ -72,8 +72,7 @@ def strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, qa_already_stripped=
72 # 16 - kernel module 72 # 16 - kernel module
73 def is_elf(path): 73 def is_elf(path):
74 exec_type = 0 74 exec_type = 0
75 ret, result = oe.utils.getstatusoutput( 75 ret, result = oe.utils.getstatusoutput("file -b '%s'" % path)
76 "file -b \"%s\"" % path.replace("\"", "\\\""))
77 76
78 if ret: 77 if ret:
79 bb.error("split_and_strip_files: 'file %s' failed" % path) 78 bb.error("split_and_strip_files: 'file %s' failed" % path)