diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch2/gcp.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/s3.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/sftp.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/bb/fetch2/gcp.py b/bitbake/lib/bb/fetch2/gcp.py index 268267b7ac..86546d40bf 100644 --- a/bitbake/lib/bb/fetch2/gcp.py +++ b/bitbake/lib/bb/fetch2/gcp.py | |||
@@ -46,7 +46,7 @@ class GCP(FetchMethod): | |||
46 | else: | 46 | else: |
47 | ud.basename = os.path.basename(ud.path) | 47 | ud.basename = os.path.basename(ud.path) |
48 | 48 | ||
49 | ud.localfile = urllib.parse.unquote(ud.basename) | 49 | ud.localfile = ud.basename |
50 | 50 | ||
51 | def get_gcp_client(self): | 51 | def get_gcp_client(self): |
52 | from google.cloud import storage | 52 | from google.cloud import storage |
diff --git a/bitbake/lib/bb/fetch2/s3.py b/bitbake/lib/bb/fetch2/s3.py index fa5292dfd7..22c0538139 100644 --- a/bitbake/lib/bb/fetch2/s3.py +++ b/bitbake/lib/bb/fetch2/s3.py | |||
@@ -77,7 +77,7 @@ class S3(FetchMethod): | |||
77 | else: | 77 | else: |
78 | ud.basename = os.path.basename(ud.path) | 78 | ud.basename = os.path.basename(ud.path) |
79 | 79 | ||
80 | ud.localfile = urllib.parse.unquote(ud.basename) | 80 | ud.localfile = ud.basename |
81 | 81 | ||
82 | ud.basecmd = d.getVar("FETCHCMD_s3") or "/usr/bin/env aws s3" | 82 | ud.basecmd = d.getVar("FETCHCMD_s3") or "/usr/bin/env aws s3" |
83 | 83 | ||
diff --git a/bitbake/lib/bb/fetch2/sftp.py b/bitbake/lib/bb/fetch2/sftp.py index 45b6afb4ad..bee71a0d0d 100644 --- a/bitbake/lib/bb/fetch2/sftp.py +++ b/bitbake/lib/bb/fetch2/sftp.py | |||
@@ -77,7 +77,7 @@ class SFTP(FetchMethod): | |||
77 | else: | 77 | else: |
78 | ud.basename = os.path.basename(ud.path) | 78 | ud.basename = os.path.basename(ud.path) |
79 | 79 | ||
80 | ud.localfile = urllib.parse.unquote(ud.basename) | 80 | ud.localfile = ud.basename |
81 | 81 | ||
82 | def download(self, ud, d): | 82 | def download(self, ud, d): |
83 | """Fetch urls""" | 83 | """Fetch urls""" |
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 7066d5e2ca..6cb728ab43 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -78,9 +78,9 @@ class Wget(FetchMethod): | |||
78 | else: | 78 | else: |
79 | ud.basename = os.path.basename(ud.path) | 79 | ud.basename = os.path.basename(ud.path) |
80 | 80 | ||
81 | ud.localfile = urllib.parse.unquote(ud.basename) | 81 | ud.localfile = ud.basename |
82 | if not ud.localfile: | 82 | if not ud.localfile: |
83 | ud.localfile = urllib.parse.unquote(ud.host + ud.path).replace("/", ".") | 83 | ud.localfile = ud.host + ud.path.replace("/", ".") |
84 | 84 | ||
85 | self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100" | 85 | self.basecmd = d.getVar("FETCHCMD_wget") or "/usr/bin/env wget -t 2 -T 100" |
86 | 86 | ||