commit: 314a076dda74be6a08694f12013e740a45438192 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Mon Oct 21 11:21:34 2019 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Mon Oct 21 11:22:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=314a076d
qt5-build.eclass: qt5_regenerate_global_configs: use `cp` instead of `mv` Thanks-to: Lars Wendler <polynomial-c <AT> gentoo.org> Bug: https://bugs.gentoo.org/698174 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/qt5-build.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass index cde05162..6529b4fa 100644 --- a/eclass/qt5-build.eclass +++ b/eclass/qt5-build.eclass @@ -816,7 +816,7 @@ qt5_regenerate_global_configs() { -execdir cat '{}' + | sort -u > "${T}"/gentoo-qconfig.h [[ -s ${T}/gentoo-qconfig.h ]] || ewarn "Generated gentoo-qconfig.h is empty" - mv -f "${T}"/gentoo-qconfig.h "${ROOT}${QT5_HEADERDIR}"/Gentoo/gentoo-qconfig.h \ + cp "${T}"/gentoo-qconfig.h "${ROOT}${QT5_HEADERDIR}"/Gentoo/gentoo-qconfig.h \ || eerror "Failed to install new gentoo-qconfig.h" einfo "Updating QT_CONFIG in qconfig.pri"
