From: | Ulrich Mueller <ulm@g.o> | ||
---|---|---|---|
To: | "Michał Górny" <mgorny@g.o> | ||
Cc: | gentoo-dev@l.g.o | ||
Subject: | Re: [gentoo-dev] [PATCH 1/2] acct-user.eclass: Support ACCT_USER_ID override | ||
Date: | Wed, 06 Jan 2021 13:26:12 | ||
Message-Id: | u7doq19ju@gentoo.org | ||
In Reply to: | [gentoo-dev] [PATCH 1/2] acct-user.eclass: Support ACCT_USER_ID override by "Michał Górny" |
1 | >>>>> On Tue, 05 Jan 2021, Michał Górny wrote: |
2 | |
3 | > + # check for the override |
4 | > + local override_name=${ACCT_USER_NAME^^} |
5 | > + local override_var=ACCT_USER_${override_name//-/_}_ID |
6 | |
7 | I wonder about this line. Both hyphen and underscore are valid |
8 | characters in user names. |
9 | |
10 | So, ACCT_USER_FOO_BAR_ID would override the id for both foo_bar and |
11 | foo-bar users. |
12 | |
13 | Ulrich |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-dev] [PATCH 1/2] acct-user.eclass: Support ACCT_USER_ID override | Thomas Deutschmann <whissi@g.o> |
Re: [gentoo-dev] [PATCH 1/2] acct-user.eclass: Support ACCT_USER_ID override | "Michał Górny" <mgorny@g.o> |