commit:     9d5ea8a4db03baefcbd382952f42cc8cbe382809
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 27 22:00:44 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Mar 27 22:00:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5ea8a4

app-metrics/prometheus:  fix cp in prepare phase

The cp call needs to use -u instead of -n to work with >=coreutils-9.2.

Closes: https://bugs.gentoo.org/902751
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 app-metrics/prometheus/prometheus-2.43.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-metrics/prometheus/prometheus-2.43.0-r2.ebuild 
b/app-metrics/prometheus/prometheus-2.43.0-r2.ebuild
index db5a914685b6..ff0cb6c8462d 100644
--- a/app-metrics/prometheus/prometheus-2.43.0-r2.ebuild
+++ b/app-metrics/prometheus/prometheus-2.43.0-r2.ebuild
@@ -38,7 +38,7 @@ src_prepare() {
                -e "s/{{.Revision}}/${GIT_COMMIT}/" \
                -e "s/{{.Version}}/${PV}/" \
                .promu.yml || die
-       cp -a -n "${WORKDIR}"/web/ui web || die
+       cp -a -u "${WORKDIR}"/web/ui web || die "cp failed"
 }
 
 src_compile() {

Reply via email to