diff options
-rw-r--r-- | bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst index 3167ab1380..bd1fb4fc74 100644 --- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst +++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-fetching.rst | |||
@@ -232,15 +232,13 @@ Some example URLs are as follows:: | |||
232 | 232 | ||
233 | Because URL parameters are delimited by semi-colons, this can | 233 | Because URL parameters are delimited by semi-colons, this can |
234 | introduce ambiguity when parsing URLs that also contain semi-colons, | 234 | introduce ambiguity when parsing URLs that also contain semi-colons, |
235 | for example: | 235 | for example:: |
236 | :: | ||
237 | 236 | ||
238 | SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47" | 237 | SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47" |
239 | 238 | ||
240 | 239 | ||
241 | Such URLs should should be modified by replacing semi-colons with '&' | 240 | Such URLs should should be modified by replacing semi-colons with '&' |
242 | characters: | 241 | characters:: |
243 | :: | ||
244 | 242 | ||
245 | SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47" | 243 | SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47" |
246 | 244 | ||
@@ -248,8 +246,7 @@ Some example URLs are as follows:: | |||
248 | In most cases this should work. Treating semi-colons and '&' in | 246 | In most cases this should work. Treating semi-colons and '&' in |
249 | queries identically is recommended by the World Wide Web Consortium | 247 | queries identically is recommended by the World Wide Web Consortium |
250 | (W3C). Note that due to the nature of the URL, you may have to | 248 | (W3C). Note that due to the nature of the URL, you may have to |
251 | specify the name of the downloaded file as well: | 249 | specify the name of the downloaded file as well:: |
252 | :: | ||
253 | 250 | ||
254 | SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47;downloadfilename=myfile.bz2" | 251 | SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47;downloadfilename=myfile.bz2" |
255 | 252 | ||