From 7f6382ebb44b75c53021d4c4ab77d6b34aed21ac Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Apr 2023 11:22:15 +0100 Subject: gentoo auto-resync : 04:04:2023 - 11:22:14 --- eclass/sgml-catalog-r1.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eclass/sgml-catalog-r1.eclass') diff --git a/eclass/sgml-catalog-r1.eclass b/eclass/sgml-catalog-r1.eclass index 2258b3e2bf0f..eff6db31062f 100644 --- a/eclass/sgml-catalog-r1.eclass +++ b/eclass/sgml-catalog-r1.eclass @@ -35,7 +35,7 @@ sgml-catalog-r1_update_catalog() { if [[ ${#cats[@]} -gt 0 ]]; then ebegin "Updating ${EROOT}/etc/sgml/catalog" - printf 'CATALOG "%s"\n' "${cats[@]}" > "${T}"/catalog && + printf 'CATALOG "%s"\n' "${cats[@]#${ROOT}}" > "${T}"/catalog && mv "${T}"/catalog "${EROOT}"/etc/sgml/catalog eend "${?}" else -- cgit v1.2.3