summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glib-2.0
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glib-2.0')
-rw-r--r--meta/recipes-core/glib-2.0/glib.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index ce908cf0f2..373f96243a 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -55,7 +55,9 @@ ARM_INSTRUCTION_SET = "arm"
55USE_NLS = "yes" 55USE_NLS = "yes"
56 56
57do_install_append () { 57do_install_append () {
58 sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|' 58 if [ -f ${D}${bindir}/gtester-report ]; then
59 sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|'
60 fi
59 61
60 # Remove some unpackaged files 62 # Remove some unpackaged files
61 rm -f ${D}${datadir}/glib-2.0/codegen/*.pyc 63 rm -f ${D}${datadir}/glib-2.0/codegen/*.pyc