summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-09-21 14:03:10 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-21 22:19:53 +0100
commit46afeaba5f2cc272b9e06860a11c8eae3edc137f (patch)
treee256074c1df319317f36c72e6e43e6f87ff7e939 /bitbake/doc/bitbake-user-manual
parent39828d3ccc696c35ae9b4242c7a87604c86b9c4d (diff)
downloadpoky-46afeaba5f2cc272b9e06860a11c8eae3edc137f.tar.gz
bitbake: bitbake-user-manual: Added information for using single quotes
Fixes [YOCTO #10293] In the section about setting variables, I added a paragraph that explains the use of single quotes when setting a variable. The case covers when you must have the double quote charater as part of your variable's value. (Bitbake rev: 01e331cd0d612013badfb07df91151907f74903d) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc/bitbake-user-manual')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
index dcb1f1e3cf..ada4e22d66 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml
@@ -44,6 +44,21 @@
44 VARIABLE = " " 44 VARIABLE = " "
45 </literallayout> 45 </literallayout>
46 </para> 46 </para>
47
48 <para>
49 You can use single quotes instead of double quotes
50 when setting a variable's value.
51 Doing so allows you to use values that contain the double
52 character:
53 <literallayout class='monospaced'>
54 VARIABLE = 'I have a " in my value'
55 </literallayout>
56 <note>
57 Unlike in Bourne shells, single quotes work identically
58 to double quotes in all other ways.
59 They do not suppress variable expansions.
60 </note>
61 </para>
47 </section> 62 </section>
48 63
49 <section id='variable-expansion'> 64 <section id='variable-expansion'>