1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00

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
This commit is contained in:
Ross Burton
2008-03-19 14:45:14 +00:00
parent aee156ed36
commit a99199d729
+1 -2
View 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())