From: Henning Heinold Date: Mon, 9 Jun 2014 21:21:28 +0000 (+0200) Subject: perf: fix broken shell comparsion in do_install X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~33426 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17bf25adad715754de589d2ae54f97c07f5dafde;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git perf: fix broken shell comparsion in do_install The patch was sponsored by sysmocom Signed-off-by: Henning Heinold Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index ef21b6c9c20..9996f663cd0 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb @@ -112,7 +112,7 @@ do_install() { unset CFLAGS oe_runmake DESTDIR=${D} install # we are checking for this make target to be compatible with older perf versions - if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" -a $(grep install-python_ext ${S}/tools/perf/Makefile) = "0"]; then + if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" -a $(grep install-python_ext ${S}/tools/perf/Makefile) = "0" ]; then oe_runmake DESTDIR=${D} install-python_ext fi }