aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2015-04-19 10:39:22 +0100
committerMarkos Chandras <hwoarang@gentoo.org>2015-04-19 22:01:04 +0100
commitc874437157617d6bab2e5ae07697c29814142ecf (patch)
tree8b3df864c4b741012fd84257e0bae1407d9cd1e7 /ebuild-writing/use-conditional-code
parentUpdate link to IEEE Std 1003.1. (diff)
downloaddevmanual-c874437157617d6bab2e5ae07697c29814142ecf.tar.gz
devmanual-c874437157617d6bab2e5ae07697c29814142ecf.tar.bz2
devmanual-c874437157617d6bab2e5ae07697c29814142ecf.zip
ebuild-writing: use-conditionals: Add more information about the old `use foo` style
X-Gentoo-Bug: 546950 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=546950
Diffstat (limited to 'ebuild-writing/use-conditional-code')
-rw-r--r--ebuild-writing/use-conditional-code/text.xml2
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>