Skip to content

Commit

Permalink
VariableScopeCheck: BROOT is allowed also in pkg_{pre,post}{inst,rm}
Browse files Browse the repository at this point in the history
PMS commit:
https://gitweb.gentoo.org/proj/pms.git/commit/?id=1a27729740e17ccd4b7a4527a46011fa62c9efb1

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Closes: pkgcore#609
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
  • Loading branch information
ulm authored and arthurzam committed Aug 3, 2023
1 parent a327dcf commit aa668df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkgcheck/checks/codingstyle.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ class VariableScopeCheck(Check):
"EROOT": "pkg_",
"SYSROOT": ("src_", "pkg_setup"),
"ESYSROOT": ("src_", "pkg_setup"),
"BROOT": ("src_", "pkg_setup"),
"BROOT": ("src_", "pkg_setup", "pkg_preinst", "pkg_prerm", "pkg_post"),
"D": ("src_install", "pkg_preinst"), # pkg_postinst is forbidden by QA policy PG 107
"ED": ("src_install", "pkg_preinst"), # pkg_postinst is forbidden by QA policy PG 107
"DESTTREE": "src_install",
Expand Down

0 comments on commit aa668df

Please sign in to comment.