diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/npm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/npm.py b/bitbake/lib/bb/fetch2/npm.py index b26ac22eff..65ccb0dd2e 100644 --- a/bitbake/lib/bb/fetch2/npm.py +++ b/bitbake/lib/bb/fetch2/npm.py | |||
@@ -102,7 +102,8 @@ class Npm(FetchMethod): | |||
102 | def _runwget(self, ud, d, command, quiet): | 102 | def _runwget(self, ud, d, command, quiet): |
103 | logger.debug(2, "Fetching %s using command '%s'" % (ud.url, command)) | 103 | logger.debug(2, "Fetching %s using command '%s'" % (ud.url, command)) |
104 | bb.fetch2.check_network_access(d, command) | 104 | bb.fetch2.check_network_access(d, command) |
105 | runfetchcmd(command, d, quiet) | 105 | dldir = d.getVar("DL_DIR", True) |
106 | runfetchcmd(command, d, quiet, workdir=dldir) | ||
106 | 107 | ||
107 | def _unpackdep(self, ud, pkg, data, destdir, dldir, d): | 108 | def _unpackdep(self, ud, pkg, data, destdir, dldir, d): |
108 | file = data[pkg]['tgz'] | 109 | file = data[pkg]['tgz'] |