diff options
| -rw-r--r-- | documentation/ref-manual/ref-variables.xml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 1445f16369..4ca4e51d5d 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
| @@ -10550,10 +10550,13 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
| 10550 | </para> | 10550 | </para> |
| 10551 | 10551 | ||
| 10552 | <para> | 10552 | <para> |
| 10553 | This next example assumes Git, which means the default | 10553 | This next example assumes a Git repository. |
| 10554 | directory is <filename>${WORKDIR}/git</filename>. | 10554 | By default, Git repositories are cloned to |
| 10555 | Consequently, you must explicitly set | 10555 | <filename>${WORKDIR}/git</filename> during |
| 10556 | <filename>S</filename> so the source can be located: | 10556 | <link linkend='ref-tasks-fetch'><filename>do_fetch</filename></link>. |
| 10557 | Since this path is different from the default value of | ||
| 10558 | <filename>S</filename>, you must set it specifically | ||
| 10559 | so the source can be located: | ||
| 10557 | <literallayout class='monospaced'> | 10560 | <literallayout class='monospaced'> |
| 10558 | SRC_URI = "git://path/to/repo.git" | 10561 | SRC_URI = "git://path/to/repo.git" |
| 10559 | S = "${WORKDIR}/git" | 10562 | S = "${WORKDIR}/git" |
