diff options
| -rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index df3e649312..ee7afd3fda 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
| @@ -122,12 +122,7 @@ class Wget(FetchMethod): | |||
| 122 | fetchcmd += " --user=%s --password=%s" % (ud.user, ud.pswd) | 122 | fetchcmd += " --user=%s --password=%s" % (ud.user, ud.pswd) |
| 123 | 123 | ||
| 124 | uri = ud.url.split(";")[0] | 124 | uri = ud.url.split(";")[0] |
| 125 | if os.path.exists(ud.localpath): | 125 | fetchcmd += " -c -P " + dldir + " '" + uri + "'" |
| 126 | # file exists, but we didnt complete it.. trying again.. | ||
| 127 | fetchcmd += " -c -P " + dldir + " '" + uri + "'" | ||
| 128 | else: | ||
| 129 | fetchcmd += " -P " + dldir + " '" + uri + "'" | ||
| 130 | |||
| 131 | self._runwget(ud, d, fetchcmd, False) | 126 | self._runwget(ud, d, fetchcmd, False) |
| 132 | 127 | ||
| 133 | # Sanity check since wget can pretend it succeed when it didn't | 128 | # Sanity check since wget can pretend it succeed when it didn't |
