]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: find desktop-file-validate on the path, so it can be added to ASSUME_...
authorRoss Burton <ross@openedhand.com>
Wed, 19 Mar 2008 14:45:14 +0000 (14:45 +0000)
committerRoss Burton <ross@openedhand.com>
Wed, 19 Mar 2008 14:45:14 +0000 (14:45 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4053 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/insane.bbclass

index e0223f12c4322213dbeccc86b18465ea1a826bb0..9bb999324bacea37b4873640919aef2fdd9be172 100644 (file)
@@ -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())