From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 12C52158086 for ; Fri, 8 Oct 2021 12:22:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44EBCE07FE; Fri, 8 Oct 2021 12:22:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E2AD8E07FE for ; Fri, 8 Oct 2021 12:22:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B10DB342EF7 for ; Fri, 8 Oct 2021 12:22:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 227D710A for ; Fri, 8 Oct 2021 12:22:21 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1633695565.85b15e9f180c2237166eca4194a4d4bd107fa8c6.vapier@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: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 85b15e9f180c2237166eca4194a4d4bd107fa8c6 X-VCS-Branch: master Date: Fri, 8 Oct 2021 12:22:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 64d522da-fa00-4285-aab4-1b94170c04fa X-Archives-Hash: 8045211db165e9defe15b088d30b82a8 commit: 85b15e9f180c2237166eca4194a4d4bd107fa8c6 Author: Mike Frysinger gentoo org> AuthorDate: Fri Oct 8 12:19:25 2021 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Fri Oct 8 12:19:25 2021 +0000 URL: https://gitweb.gentoo.org/proj/build-docbook-catalog.git/commit/?id=85b15e9f add eprefix to lockdir #816747 Bug: https://bugs.gentoo.org/816747 Signed-off-by: Mike Frysinger gentoo.org> build-docbook-catalog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-docbook-catalog b/build-docbook-catalog index b212822..aabc756 100755 --- a/build-docbook-catalog +++ b/build-docbook-catalog @@ -8,6 +8,7 @@ ROOTCONFDIR="${EPREFIX}"/etc/xml ROOTCATALOG=${ROOTCONFDIR}/catalog CATALOG=${ROOTCONFDIR}/docbook DOCBOOKDIR="${EPREFIX}"/usr/share/sgml/docbook +LOCKDIR=${EPREFIX}/run/lock DTDS=() SIMPLE_DTDS=() LATEST_DTD= @@ -66,7 +67,7 @@ main() { mkdir -p "${ROOT}${ROOTCONFDIR}" || error "could not create ${ROOTCONFDIR}" fi - local lock_dir="${ROOT}/run/lock" + local lock_dir="${ROOT}${LOCKDIR}" if [[ ! -d ${lock_dir} ]] ; then error "${lock_dir}: missing critical system path; please create it" fi