On Tue, Dec 6, 2022 at 5:24 PM James Le Cuirot <ch...@gentoo.org> wrote: > > Users are largely irrelevant for prefix, but we still don't want the > build to break. > > Signed-off-by: James Le Cuirot <ch...@gentoo.org> > --- > eclass/user-info.eclass | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/eclass/user-info.eclass b/eclass/user-info.eclass > index 5550e4f08eeb..1339e36634a8 100644 > --- a/eclass/user-info.eclass > +++ b/eclass/user-info.eclass > @@ -48,7 +48,7 @@ egetent() { > fi > > # Handle different ROOT > - [[ -n ${ROOT} ]] && opts+=( -R "${ROOT}" ) > + [[ -n ${ROOT} ]] && opts+=( -R "${EROOT}" )
Another case where the [[ -n ${ROOT} ]] should probably be changed to [[ -n ${EROOT} ]] if you actually want this to be prefix-aware.