aboutsummaryrefslogtreecommitdiff
path: root/0.8.0/ebuild/fetchers/dowget.in
blob: a6d800722eaf63998ca21a9f3eec8ba01391467c (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

echo ${WGET_WRAPPER} ${LOCAL_WGET:-wget} ${EXTRA_WGET} -T 30 -t 1 -O "${2}" "${1}" 1>&2
if ${WGET_WRAPPER} ${LOCAL_WGET:-wget} ${EXTRA_WGET} -T 30 -t 1 -O "${2}" "${1}" ; then
    exit 0
else
    rm -f "${2}"
    exit 1
fi