From a99199d729acd5f7a3c3aa24ff7babdfe29e5981 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 19 Mar 2008 14:45:14 +0000 Subject: 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 --- meta/classes/insane.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/classes/insane.bbclass') diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index e0223f12c..9bb999324 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()) -- cgit v1.2.3