From bdee917110456aabe70233a5832446f9fa2de622 Mon Sep 17 00:00:00 2001 From: Davide Pesavento Date: Thu, 1 Feb 2018 19:56:10 +0100 Subject: qt5-build.eclass: use a subshell for insinto+newins --- eclass/qt5-build.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'eclass/qt5-build.eclass') diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index 963dba571cb2..28d303e2a11a 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -804,10 +804,11 @@ qt5_install_module_qconfigs() { doins "${T}"/${PN}-qconfig.pri ) - if [[ ${PN} == qtcore && ${QT5_MINOR_VERSION} -ge 9 ]]; then + # install also the original qconfig.pri + [[ ${PN} == qtcore && ${QT5_MINOR_VERSION} -ge 9 ]] && ( insinto "${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/gentoo newins "${D}${QT5_ARCHDATADIR#${EPREFIX}}"/mkspecs/qconfig.pri qconfig-qtcore.pri - fi + ) } # @FUNCTION: qt5_regenerate_global_qconfigs -- cgit v1.2.3-65-gdbad