From: Paul Eggleton Date: Mon, 5 Sep 2016 22:57:32 +0000 (+1200) Subject: bitbake: fetch2/npm: clarify comment X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d67e3b4c708b7c7d142b896cdb5fecc35e1ae9ad;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bitbake: fetch2/npm: clarify comment The correct name of the parameter is "version" not "ver" so ensure we aren't misleading the user by giving the latter in an example. (Bitbake rev: 14c045c6a20993d389b91ae2459d811a1430a7b2) Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py index 08d68765249..43929ce9a33 100644 --- a/bitbake/lib/bb/fetch2/npm.py +++ b/bitbake/lib/bb/fetch2/npm.py @@ -13,7 +13,7 @@ Usage in the recipe: - name - version - npm://registry.npmjs.org/${PN}/-/${PN}-${PV}.tgz would become npm://registry.npmjs.org;name=${PN};ver=${PV} + npm://registry.npmjs.org/${PN}/-/${PN}-${PV}.tgz would become npm://registry.npmjs.org;name=${PN};version=${PV} The fetcher all triggers off the existence of ud.localpath. If that exists and has the ".done" stamp, its assumed the fetch is good/done """