diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2015-04-27 12:33:18 -0600 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2015-04-27 12:33:18 -0600 |
commit | 691a304d4f074bcee8acde4e6c7adee628bf8ea8 (patch) | |
tree | 2fee78811babe477a535bf6c0884f17270b97428 | |
parent | 18d2040063de2734987fadf288acfc202aa42214 (diff) |
change wget to use fileserver and remote_snapshots variables
-rwxr-xr-x | lib/fetch.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fetch.sh b/lib/fetch.sh index 5d1771d7..d1e8dc22 100755 --- a/lib/fetch.sh +++ b/lib/fetch.sh @@ -142,7 +142,7 @@ fetch_http() # NOTE: the timeout is short, and we only try twice to access the # remote host. This is to improve performance when offline, or # the remote host is offline. - dryrun "${wget_bin} ${wget_quiet:+-q} --timeout=${wget_timeout}${wget_progress_style:+ --progress=${wget_progress_style}} --tries=2 --directory-prefix=${local_snapshots}/${dir} ${remote_snapshots}/${getfile}" + dryrun "${wget_bin} ${wget_quiet:+-q} --timeout=${wget_timeout}${wget_progress_style:+ --progress=${wget_progress_style}} --tries=2 --directory-prefix=${local_snapshots}/${dir} http://${fileserver}:${remote_snapshots}/${getfile}" if test x"${dryrun}" != xyes -a ! -s ${local_snapshots}/${getfile}; then warning "downloaded file ${getfile} has zero data!" return 1 |