summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/doc/user-manual/user-manual-metadata.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/bitbake/doc/user-manual/user-manual-metadata.xml b/bitbake/doc/user-manual/user-manual-metadata.xml
index f7682c0fed..9cd1a9d922 100644
--- a/bitbake/doc/user-manual/user-manual-metadata.xml
+++ b/bitbake/doc/user-manual/user-manual-metadata.xml
@@ -30,6 +30,26 @@
30 <literallayout class='monospaced'> 30 <literallayout class='monospaced'>
31 VARIABLE = "value" 31 VARIABLE = "value"
32 </literallayout> 32 </literallayout>
33 As expected, if you include leading or trailing spaces as part of
34 an assignment, the spaces are retained:
35 <literallayout class='monospaced'>
36 VARIABLE = " value"
37 VARIABLE = "value "
38 </literallayout>
39 </para>
40 </section>
41
42 <section id='null-and-blank-variable-setting'>
43 <title>Null and Blank Variable Setting</title>
44
45 <para>
46 Setting <filename>VARIABLE</filename> to "" sets it to null,
47 while setting the variable to " " sets it to a blank space
48 (i.e. these are not the same values).
49 <literallayout class='monospaced'>
50 VARIABLE = ""
51 VARIABLE = " "
52 </literallayout>
33 </para> 53 </para>
34 </section> 54 </section>
35 55