From 01e331cd0d612013badfb07df91151907f74903d Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 21 Sep 2016 14:03:10 -0700 Subject: 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. Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') diff --git a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml index dcb1f1e3c..ada4e22d6 100644 --- a/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +++ b/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml @@ -44,6 +44,21 @@ VARIABLE = " " + + + You can use single quotes instead of double quotes + when setting a variable's value. + Doing so allows you to use values that contain the double + character: + + VARIABLE = 'I have a " in my value' + + + Unlike in Bourne shells, single quotes work identically + to double quotes in all other ways. + They do not suppress variable expansions. + +
-- cgit 1.2.3-korg