From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1511411-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9C8215ACFB for <garchives@archives.gentoo.org>; Tue, 25 Apr 2023 03:43:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BABD1E0968; Tue, 25 Apr 2023 03:43:04 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C414E0968 for <gentoo-commits@lists.gentoo.org>; Tue, 25 Apr 2023 03:43:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 949CA335DA8 for <gentoo-commits@lists.gentoo.org>; Tue, 25 Apr 2023 03:43:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D6316920 for <gentoo-commits@lists.gentoo.org>; Tue, 25 Apr 2023 03:43:01 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1682394171.158daca4d8dc373b5b6c5757cfa6491b6eda3b18.sam@gentoo> Subject: [gentoo-commits] proj/build-docbook-catalog:master commit in: / X-VCS-Repository: proj/build-docbook-catalog X-VCS-Files: build-docbook-catalog X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 158daca4d8dc373b5b6c5757cfa6491b6eda3b18 X-VCS-Branch: master Date: Tue, 25 Apr 2023 03:43:01 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8e88b9fb-d3ae-47ba-9af7-d7cd46bd6b97 X-Archives-Hash: ed2dff066259ce348b32b2a8d59618d5 commit: 158daca4d8dc373b5b6c5757cfa6491b6eda3b18 Author: Raul E Rangel <rrangel <AT> chromium <DOT> org> AuthorDate: Tue Apr 4 21:57:13 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Apr 25 03:42:51 2023 +0000 URL: https://gitweb.gentoo.org/proj/build-docbook-catalog.git/commit/?id=158daca4 Fix incorrect cp when using ROOT We were missing the ROOT prefix on the cp operation: + [[ -r /build/arm64-generic//etc/xml/catalog ]] + xmllint /build/arm64-generic//etc/xml/catalog + [[ ! -r /build/arm64-generic//etc/xml/catalog ]] + verb 'Found XML Catalog root /etc/xml/catalog' + false + verb ' Cleaning existing /etc/xml/docbook delegates from /etc/xml/catalog' + false + cp /etc/xml/catalog /etc/xml/catalog.tmp + clean_catalog file:///etc/xml/docbook /etc/xml/catalog.tmp + local list f regex=file:///etc/xml/docbook catalog=/build/arm64-generic//etc/xml/catalog.tmp ++ grep -E --only-matching file:///etc/xml/docbook /build/arm64-generic//etc/xml/catalog.tmp ++ sort -u grep: /build/arm64-generic//etc/xml/catalog.tmp: No such file or directory Signed-off-by: Raul E Rangel <rrangel <AT> chromium.org> Signed-off-by: Sam James <sam <AT> gentoo.org> build-docbook-catalog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-docbook-catalog b/build-docbook-catalog index cee9af0..2275703 100755 --- a/build-docbook-catalog +++ b/build-docbook-catalog @@ -187,7 +187,7 @@ create_catalogs() { verb "Found XML Catalog root ${ROOTCATALOG}" # clean out existing entries verb " Cleaning existing ${CATALOG} delegates from ${ROOTCATALOG}" - cp "${ROOTCATALOG}" "${ROOTCATALOG}.tmp" + cp "${ROOT}${ROOTCATALOG}" "${ROOT}${ROOTCATALOG}.tmp" clean_catalog "file://${CATALOG}" "${ROOTCATALOG}.tmp" fi