* [PATCH] glib-2.0: Make the gtester-report installation conditional
@ 2014-08-14 13:34 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2014-08-14 13:34 UTC (permalink / raw)
To: openembedded-core
This isn't built/present under mingw builds so make installation
conditional upon its presence.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index ce908cf..373f962 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"
USE_NLS = "yes"
do_install_append () {
- sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|'
+ if [ -f ${D}${bindir}/gtester-report ]; then
+ sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|'
+ fi
# Remove some unpackaged files
rm -f ${D}${datadir}/glib-2.0/codegen/*.pyc
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-08-14 13:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-14 13:34 [PATCH] glib-2.0: Make the gtester-report installation conditional Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.