Skip to content

Commit

Permalink
qt5-build.eclass: use a subshell for insinto+newins
Browse files Browse the repository at this point in the history
  • Loading branch information
Pesa authored and Michael Palimaka committed Feb 3, 2018
1 parent aa2b16f commit bdee917
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eclass/qt5-build.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bdee917

Please sign in to comment.