From 99474e0da9400c3f87e881df766b1258dbb54da8 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 3 Jul 2018 21:37:14 +0200 Subject: kde5.eclass: No subshells --- eclass/kde5.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'eclass') diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass index 47988cc5d427..d674611dc711 100644 --- a/eclass/kde5.eclass +++ b/eclass/kde5.eclass @@ -506,7 +506,7 @@ kde5_src_prepare() { cmake-utils_src_prepare # only build examples when required - if ! (in_iuse examples && use examples) ; then + if ! { in_iuse examples && use examples; } ; then cmake_comment_add_subdirectory examples fi @@ -571,7 +571,7 @@ kde5_src_prepare() { fi # only build unit tests when required - if ! (in_iuse test && use test) ; then + if ! { in_iuse test && use test; } ; then if [[ ${KDE_TEST} = forceoptional ]] ; then punt_bogus_dep Qt5 Test # if forceoptional, also cover non-kde categories -- cgit v1.2.3-65-gdbad