diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 2808df6ac0..24eec318b4 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -65,7 +65,8 @@ class Wget(FetchMethod): | |||
65 | 65 | ||
66 | basecmd = d.getVar("FETCHCMD_wget", True) or "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate" | 66 | basecmd = d.getVar("FETCHCMD_wget", True) or "/usr/bin/env wget -t 2 -T 30 -nv --passive-ftp --no-check-certificate" |
67 | 67 | ||
68 | if 'downloadfilename' in ud.parm: | 68 | if not checkonly and 'downloadfilename' in ud.parm: |
69 | bb.utils.mkdirhier(os.path.dirname(ud.localfile)) | ||
69 | basecmd += " -O ${DL_DIR}/" + ud.localfile | 70 | basecmd += " -O ${DL_DIR}/" + ud.localfile |
70 | 71 | ||
71 | if checkonly: | 72 | if checkonly: |