public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT)
@ 2022-12-06 22:24 99% James Le Cuirot
  0 siblings, 0 replies; 1+ results
From: James Le Cuirot @ 2022-12-06 22:24 UTC (permalink / raw
  To: gentoo-dev; +Cc: James Le Cuirot

Groups are largely irrelevant for prefix, but we still don't want the
build to break.

Signed-off-by: James Le Cuirot <chewi@gentoo.org>
---
 eclass/acct-group.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/acct-group.eclass b/eclass/acct-group.eclass
index 590a2f20ed8e..ada5fe386693 100644
--- a/eclass/acct-group.eclass
+++ b/eclass/acct-group.eclass
@@ -176,7 +176,7 @@ acct-group_pkg_preinst() {
 	fi
 
 	if [[ -n ${ROOT} ]]; then
-		opts+=( --prefix "${ROOT}" )
+		opts+=( --prefix "${EROOT}" )
 	fi
 
 	elog "Adding group ${ACCT_GROUP_NAME}"
-- 
2.38.1



^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2022-12-06 22:24 99% [gentoo-dev] [PATCH 1/4] acct-group.eclass: Fix for when building in a rooted prefix (EROOT) James Le Cuirot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox