diff options
| -rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 15 |
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'> |
