diff options
author | Ismo Puustinen <ismo.puustinen@intel.com> | 2017-06-28 13:19:31 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-29 14:33:09 +0100 |
commit | a457cbfb1f20a47db3978290921d0708cd96bd70 (patch) | |
tree | d371416c9181d616ff649090366c8654f4195367 | |
parent | df31a88786ce5bd7708ff14e1379dc2a58a8c0cf (diff) | |
download | bitbake-contrib-a457cbfb1f20a47db3978290921d0708cd96bd70.tar.gz |
npm fetcher: fix unknown variable name.
'mirrortarball' is supposed to be a local variable to the function.
Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/fetch2/npm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/npm.py b/lib/bb/fetch2/npm.py index 5f799724e..f2e7983d8 100644 --- a/lib/bb/fetch2/npm.py +++ b/lib/bb/fetch2/npm.py @@ -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] |