From 1bb6533cefdf26958aa2500f6a31fb5f8a584985 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Wed, 24 Jul 2024 16:14:30 +0200 Subject: ebuild-writing/common-mistakes: Delete P0 from list of custom variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As discussed in #gentoo-qa. Signed-off-by: Ulrich Müller --- ebuild-writing/common-mistakes/text.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ebuild-writing/common-mistakes/text.xml b/ebuild-writing/common-mistakes/text.xml index 134990c..e39e2e6 100644 --- a/ebuild-writing/common-mistakes/text.xml +++ b/ebuild-writing/common-mistakes/text.xml @@ -244,7 +244,7 @@ The first two lines must look like this:

You should never redefine those variables. Always use MY_P, MY_PN, MY_PV, -P0, etc. See other ebuilds that do it in Portage for more information. Most +etc. See other ebuilds that do it in Portage for more information. Most ebuilds use bash "Parameter Expansion". Please read the man page for bash to understand how "Parameter Expansion" works.

-- cgit v1.2.3-65-gdbad