diff options
-rw-r--r-- | bitbake-dev/lib/bb/fetch/wget.py | 2 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch/wget.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bitbake-dev/lib/bb/fetch/wget.py b/bitbake-dev/lib/bb/fetch/wget.py index 2a899c5808..a0dca94040 100644 --- a/bitbake-dev/lib/bb/fetch/wget.py +++ b/bitbake-dev/lib/bb/fetch/wget.py | |||
@@ -95,7 +95,7 @@ class Wget(Fetch): | |||
95 | 95 | ||
96 | # Sanity check since wget can pretend it succeed when it didn't | 96 | # Sanity check since wget can pretend it succeed when it didn't |
97 | # Also, this used to happen if sourceforge sent us to the mirror page | 97 | # Also, this used to happen if sourceforge sent us to the mirror page |
98 | if not os.path.exists(ud.localpath): | 98 | if not os.path.exists(ud.localpath) and not checkonly: |
99 | bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) | 99 | bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) |
100 | return False | 100 | return False |
101 | 101 | ||
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py index 442fc3e489..d1ae6cb65f 100644 --- a/bitbake/lib/bb/fetch/wget.py +++ b/bitbake/lib/bb/fetch/wget.py | |||
@@ -95,7 +95,7 @@ class Wget(Fetch): | |||
95 | 95 | ||
96 | # Sanity check since wget can pretend it succeed when it didn't | 96 | # Sanity check since wget can pretend it succeed when it didn't |
97 | # Also, this used to happen if sourceforge sent us to the mirror page | 97 | # Also, this used to happen if sourceforge sent us to the mirror page |
98 | if not os.path.exists(ud.localpath): | 98 | if not os.path.exists(ud.localpath) and not checkonly: |
99 | bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) | 99 | bb.msg.debug(2, bb.msg.domain.Fetcher, "The fetch command for %s returned success but %s doesn't exist?..." % (uri, ud.localpath)) |
100 | return False | 100 | return False |
101 | 101 | ||