diff options
Diffstat (limited to 'ebuild-writing')
-rw-r--r-- | ebuild-writing/use-conditional-code/text.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ebuild-writing/use-conditional-code/text.xml b/ebuild-writing/use-conditional-code/text.xml index 3db3a40..bc95f84 100644 --- a/ebuild-writing/use-conditional-code/text.xml +++ b/ebuild-writing/use-conditional-code/text.xml @@ -15,7 +15,7 @@ readable. <p> The <c>if [ "`use foo`" ]</c> and <c>if [ -n "`use foo`" ]</c> forms which are -occasionally seen in older code must <b>not</b> be used. +occasionally seen in older code must <b>not</b> be used. This is because, since portage-2.1, the 'use' portage helper does not produce any output when the use flag is enabled or disabled so the [ "`use foo`" ] statement is pretty much identical to [ "" ] which always evaluates to false. </p> <note> |