From 17bf25adad715754de589d2ae54f97c07f5dafde Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Mon, 9 Jun 2014 23:21:28 +0200 Subject: 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 --- meta/recipes-kernel/perf/perf.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-kernel') diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index ef21b6c9c2..9996f663cd 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 } -- cgit v1.2.3