diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 90c894f60f..252e2966b4 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -584,6 +584,7 @@ def try_mirror_url(newuri, origud, ud, ld, check = False): | |||
584 | dldir = ld.getVar("DL_DIR", True) | 584 | dldir = ld.getVar("DL_DIR", True) |
585 | if origud.mirrortarball and os.path.basename(ud.localpath) == os.path.basename(origud.mirrortarball) \ | 585 | if origud.mirrortarball and os.path.basename(ud.localpath) == os.path.basename(origud.mirrortarball) \ |
586 | and os.path.basename(ud.localpath) != os.path.basename(origud.localpath): | 586 | and os.path.basename(ud.localpath) != os.path.basename(origud.localpath): |
587 | bb.utils.mkdirhier(os.path.dirname(ud.donestamp)) | ||
587 | open(ud.donestamp, 'w').close() | 588 | open(ud.donestamp, 'w').close() |
588 | dest = os.path.join(dldir, os.path.basename(ud.localpath)) | 589 | dest = os.path.join(dldir, os.path.basename(ud.localpath)) |
589 | if not os.path.exists(dest): | 590 | if not os.path.exists(dest): |