diff options
-rw-r--r-- | bitbake/lib/bb/fetch2/wget.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/lib/bb/fetch2/wget.py b/bitbake/lib/bb/fetch2/wget.py index 7bd027adc5..d3be069576 100644 --- a/bitbake/lib/bb/fetch2/wget.py +++ b/bitbake/lib/bb/fetch2/wget.py | |||
@@ -69,10 +69,11 @@ class Wget(FetchMethod): | |||
69 | 69 | ||
70 | fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) | 70 | fetchcmd = fetchcmd.replace("${URI}", uri.split(";")[0]) |
71 | fetchcmd = fetchcmd.replace("${FILE}", ud.basename) | 71 | fetchcmd = fetchcmd.replace("${FILE}", ud.basename) |
72 | logger.info("fetch " + uri) | 72 | if not checkonly: |
73 | logger.debug(2, "executing " + fetchcmd) | 73 | logger.info("fetch " + uri) |
74 | logger.debug(2, "executing " + fetchcmd) | ||
74 | bb.fetch2.check_network_access(d, fetchcmd) | 75 | bb.fetch2.check_network_access(d, fetchcmd) |
75 | runfetchcmd(fetchcmd, d) | 76 | runfetchcmd(fetchcmd, d, quiet=checkonly) |
76 | 77 | ||
77 | # Sanity check since wget can pretend it succeed when it didn't | 78 | # Sanity check since wget can pretend it succeed when it didn't |
78 | # Also, this used to happen if sourceforge sent us to the mirror page | 79 | # Also, this used to happen if sourceforge sent us to the mirror page |