diff options
author | 2024-05-09 16:07:19 -0400 | |
---|---|---|
committer | 2024-05-13 09:13:26 -0400 | |
commit | b7e37226a665a0613facd10386bbbbec8696699e (patch) | |
tree | a1ac7d8fb71a148beb8dd1d1b0506a96687cd6eb /eclass/mozlinguas-v2.eclass | |
parent | acct-group.eclass: make ACCT_GROUP_NAME writable (diff) | |
download | gentoo-b7e37226a665a0613facd10386bbbbec8696699e.tar.gz gentoo-b7e37226a665a0613facd10386bbbbec8696699e.tar.bz2 gentoo-b7e37226a665a0613facd10386bbbbec8696699e.zip |
eclass/acct-user.eclass: use $PN to construct make.conf override vars
If (after upcasing and replacing hyphens by underscores) ACCT_USER_NAME
is set to something that isn't valid in a bash variable name, the eclass
will crash: it uses ACCT_USER_NAME to construct the make.conf override
variables in pkg_pretend() and src_install(). This commit constructs the
variable names using PN instead of ACCT_USER_NAME. In ::gentoo, the two
are equivalent, but in an overlay this allows weirder usernames at the
expense of slightly mismatched variable names.
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'eclass/mozlinguas-v2.eclass')
0 files changed, 0 insertions, 0 deletions