summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-03-19 14:45:14 +0000
committerRoss Burton <ross@openedhand.com>2008-03-19 14:45:14 +0000
commita99199d729acd5f7a3c3aa24ff7babdfe29e5981 (patch)
treea0476e9e7c9bbcd63627cde5c30669d97b1edf54 /meta
parentaee156ed369a303ce18559a12d44c0b1e799d113 (diff)
downloadopenembedded-core-a99199d729acd5f7a3c3aa24ff7babdfe29e5981.tar.gz
openembedded-core-a99199d729acd5f7a3c3aa24ff7babdfe29e5981.tar.bz2
openembedded-core-a99199d729acd5f7a3c3aa24ff7babdfe29e5981.zip
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')
-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):
"""
import bb, os
if path.endswith(".desktop"):
- validate = os.path.join(bb.data.getVar('STAGING_BINDIR_NATIVE',d,True), 'desktop-file-validate')
- output = os.popen("%s %s" % (validate, path))
+ output = os.popen("desktop-file-validate %s" % path)
# This only produces output on errors
for l in output:
bb.error(l.strip())