diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-14 14:34:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-15 08:46:40 +0100 |
commit | 53903afae4fe841c0d394172201660d5e3fad5d4 (patch) | |
tree | a0b33e5079c1c307529ebada2dbea92064552cad /meta/recipes-core | |
parent | f99732a29689c65083ad09abb302f372042c8cd4 (diff) | |
download | openembedded-core-53903afae4fe841c0d394172201660d5e3fad5d4.tar.gz openembedded-core-53903afae4fe841c0d394172201660d5e3fad5d4.tar.bz2 openembedded-core-53903afae4fe841c0d394172201660d5e3fad5d4.zip |
glib-2.0: Make the gtester-report installation conditional
This isn't built/present under mingw builds so make installation
conditional upon its presence.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 4 |
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" 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 |