diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/__init__.py')
-rw-r--r-- | bitbake/lib/bb/fetch2/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py index 84327c2f8f..b00aeb3afd 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -964,7 +964,8 @@ def rename_bad_checksum(ud, suffix): | |||
964 | 964 | ||
965 | new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix) | 965 | new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix) |
966 | bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath)) | 966 | bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath)) |
967 | bb.utils.movefile(ud.localpath, new_localpath) | 967 | if not bb.utils.movefile(ud.localpath, new_localpath): |
968 | bb.warn("Renaming %s to %s failed, grep movefile in log.do_fetch to see why" % (ud.localpath, new_localpath)) | ||
968 | 969 | ||
969 | 970 | ||
970 | def try_mirror_url(fetch, origud, ud, ld, check = False): | 971 | def try_mirror_url(fetch, origud, ud, ld, check = False): |