summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index e0223f12c4..9bb999324b 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -317,8 +317,7 @@ def package_qa_check_desktop(path, name, d):
317 """ 317 """
318 import bb, os 318 import bb, os
319 if path.endswith(".desktop"): 319 if path.endswith(".desktop"):
320 validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True), 'desktop-file-validate') 320 output = os.popen("desktop-file-validate %s" % path)
321 output = os.popen("%s %s" % (validate, path))
322 # This only produces output on errors 321 # This only produces output on errors
323 for l in output: 322 for l in output:
324 bb.error(l.strip()) 323 bb.error(l.strip())