summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package.bbclass')
-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 2053d46395..cee64f3267 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -901,7 +901,7 @@ python split_and_strip_files () {
901 # 16 - kernel module 901 # 16 - kernel module
902 def isELF(path): 902 def isELF(path):
903 type = 0 903 type = 0
904 ret, result = oe.utils.getstatusoutput("file \"%s\"" % path.replace("\"", "\\\"")) 904 ret, result = oe.utils.getstatusoutput("file -b '%s'" % path.replace("\"", "\\\""))
905 905
906 if ret: 906 if ret:
907 msg = "split_and_strip_files: 'file %s' failed" % path 907 msg = "split_and_strip_files: 'file %s' failed" % path