summaryrefslogtreecommitdiff
path: root/pkgmk.in
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2008-11-01 18:09:20 +0100
committerTilman Sauerbeck <tilman@crux.nu>2008-11-01 18:09:20 +0100
commit51c534c2bd638d6ef849bac15c6106a17a682b56 (patch)
treeb34dcd3eefdd5f73e0eebaadfd48d7919eaa422d /pkgmk.in
parent92dbaab6a7ea34dc55308d12578453ec7e498295 (diff)
downloadpkgutils-51c534c2bd638d6ef849bac15c6106a17a682b56.tar.gz
pkgutils-51c534c2bd638d6ef849bac15c6106a17a682b56.tar.xz
Bug #347: wget options are configurable now.
Diffstat (limited to 'pkgmk.in')
-rwxr-xr-xpkgmk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgmk.in b/pkgmk.in
index 1cc40d60..00d8e954 100755
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -101,7 +101,7 @@ download_file() {
BASENAME=`get_basename $1`
for REPO in ${PKGMK_SOURCE_MIRRORS[@]}; do
REPO="`echo $REPO | sed 's|/$||'`"
- wget $RESUME_CMD $DOWNLOAD_OPTS $REPO/$BASENAME
+ wget $RESUME_CMD $DOWNLOAD_OPTS $PKGMK_WGET_OPTS $REPO/$BASENAME
error=$?
if [ $error == 0 ]; then
break
@@ -110,7 +110,7 @@ download_file() {
if [ $error != 0 ]; then
while true; do
- wget $RESUME_CMD $DOWNLOAD_OPTS $1
+ wget $RESUME_CMD $DOWNLOAD_OPTS $PKGMK_WGET_OPTS $1
error=$?
if [ $error != 0 ] && [ "$RESUME_CMD" ]; then
info "Partial download failed, restarting"

Generated by cgit