diff options
Diffstat (limited to 'bitbake/lib')
-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 709372e16f..708b83dbfa 100644 --- a/bitbake/lib/bb/fetch2/__init__.py +++ b/bitbake/lib/bb/fetch2/__init__.py | |||
@@ -966,7 +966,8 @@ def rename_bad_checksum(ud, suffix): | |||
966 | 966 | ||
967 | new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix) | 967 | new_localpath = "%s_bad-checksum_%s" % (ud.localpath, suffix) |
968 | bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath)) | 968 | bb.warn("Renaming %s to %s" % (ud.localpath, new_localpath)) |
969 | bb.utils.movefile(ud.localpath, new_localpath) | 969 | if not bb.utils.movefile(ud.localpath, new_localpath): |
970 | bb.warn("Renaming %s to %s failed, grep movefile in log.do_fetch to see why" % (ud.localpath, new_localpath)) | ||
970 | 971 | ||
971 | 972 | ||
972 | def try_mirror_url(fetch, origud, ud, ld, check = False): | 973 | def try_mirror_url(fetch, origud, ud, ld, check = False): |