summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-10-21 13:11:20 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-10-21 13:18:07 +0200
commit6d1ea18157c45fb93756378a38318a3f6e1a7967 (patch)
tree9d6740170e164beebdadaf55acdf79c9c97a6567 /eclass/qt5-build.eclass
parentdev-db/clickhouse: Bump (diff)
downloadgentoo-6d1ea18157c45fb93756378a38318a3f6e1a7967.tar.gz
gentoo-6d1ea18157c45fb93756378a38318a3f6e1a7967.tar.bz2
gentoo-6d1ea18157c45fb93756378a38318a3f6e1a7967.zip
qt5-build.eclass: qt5_regenerate_global_configs: use `cp` instead of `mv`
Thanks-to: Lars Wendler <polynomial-c@gentoo.org> Bug: https://bugs.gentoo.org/698174 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass/qt5-build.eclass')
-rw-r--r--eclass/qt5-build.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/qt5-build.eclass b/eclass/qt5-build.eclass
index 2e5a15d930ab..2bee3a3fae47 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"