diff options
author | Ross Burton <ross@openedhand.com> | 2008-03-19 14:45:14 +0000 |
---|---|---|
committer | Ross Burton <ross@openedhand.com> | 2008-03-19 14:45:14 +0000 |
commit | a99199d729acd5f7a3c3aa24ff7babdfe29e5981 (patch) | |
tree | a0476e9e7c9bbcd63627cde5c30669d97b1edf54 /meta/classes/insane.bbclass | |
parent | aee156ed369a303ce18559a12d44c0b1e799d113 (diff) | |
download | poky-a99199d729acd5f7a3c3aa24ff7babdfe29e5981.tar.gz |
insane.bbclass: find desktop-file-validate on the path, so it can be added to ASSUME_PROVIDED
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4053 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 3 |
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()) |