npm fetcher: fix unknown variable name.
PATCH 1/1 npm fetcher: fix unknown variable name.
'mirrortarball' is supposed to be a local variable to the function.
Signed-off-by Ismo Puustinen <[email protected]>
--- lib/bb/fetch2/npm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/npm.py +1 -1
@@ -92,7 +92,7 @@ class Npm(FetchMethod): ud.write_tarballs = ((d.getVar("BB_GENERATE_MIRROR_TARBALLS") or "0") != "0") mirrortarball = 'npm_%s-%s.tar.xz' % (ud.pkgname, ud.version) - mirrortarball = ud.mirrortarball.replace('/', '-') + mirrortarball = mirrortarball.replace('/', '-') ud.fullmirror = os.path.join(d.getVar("DL_DIR"), mirrortarball) ud.mirrortarballs = [mirrortarball]
Signature · 1 line
2.9.4