diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/npmsw.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/npmsw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/npmsw.py b/bitbake/lib/bb/fetch2/npmsw.py index 879ba5de0f..a8c4d3528f 100644 --- a/bitbake/lib/bb/fetch2/npmsw.py +++ b/bitbake/lib/bb/fetch2/npmsw.py | |||
@@ -117,7 +117,7 @@ class NpmShrinkWrap(FetchMethod): | |||
117 | 117 | ||
118 | # Handle http tarball sources | 118 | # Handle http tarball sources |
119 | elif version.startswith("http") and integrity: | 119 | elif version.startswith("http") and integrity: |
120 | localfile = os.path.join("npm2", os.path.basename(version)) | 120 | localfile = npm_localfile(os.path.basename(version)) |
121 | 121 | ||
122 | uri = URI(version) | 122 | uri = URI(version) |
123 | uri.params["downloadfilename"] = localfile | 123 | uri.params["downloadfilename"] = localfile |