summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmo Puustinen <ismo.puustinen@intel.com>2017-06-28 13:19:31 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-29 14:33:42 +0100
commit98099349e358a9caaec8ec81f0d4abe588909cfe (patch)
tree298ad299ddc8db846135c06bb9fecb23ae5cb6df
parent027bdb056022612761fc833952deaff9989bb5fa (diff)
downloadpoky-98099349e358a9caaec8ec81f0d4abe588909cfe.tar.gz
bitbake: npm fetcher: fix unknown variable name.
'mirrortarball' is supposed to be a local variable to the function. (Bitbake rev: a457cbfb1f20a47db3978290921d0708cd96bd70) Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/bb/fetch2/npm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py
index 5f799724e7..f2e7983d8d 100644
--- a/bitbake/lib/bb/fetch2/npm.py
+++ b/bitbake/lib/bb/fetch2/npm.py
@@ -92,7 +92,7 @@ class Npm(FetchMethod):
92 92
93 ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0") 93 ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0")
94 mirrortarball = 'npm_%s-%s.tar.xz' % (ud.pkgname, ud.version) 94 mirrortarball = 'npm_%s-%s.tar.xz' % (ud.pkgname, ud.version)
95 mirrortarball = ud.mirrortarball.replace('/', '-') 95 mirrortarball = mirrortarball.replace('/', '-')
96 ud.fullmirror = os.path.join(d.getVar("DL_DIR"), mirrortarball) 96 ud.fullmirror = os.path.join(d.getVar("DL_DIR"), mirrortarball)
97 ud.mirrortarballs = [mirrortarball] 97 ud.mirrortarballs = [mirrortarball]
98 98