diff options
author | Juergen Daubert <jue@jue.li> | 2008-11-01 18:09:20 +0100 |
---|---|---|
committer | Tilman Sauerbeck <tilman@crux.nu> | 2008-11-01 18:09:20 +0100 |
commit | 51c534c2bd638d6ef849bac15c6106a17a682b56 (patch) | |
tree | b34dcd3eefdd5f73e0eebaadfd48d7919eaa422d /pkgmk.in | |
parent | 92dbaab6a7ea34dc55308d12578453ec7e498295 (diff) | |
download | pkgutils-51c534c2bd638d6ef849bac15c6106a17a682b56.tar.gz pkgutils-51c534c2bd638d6ef849bac15c6106a17a682b56.tar.xz |
Bug #347: wget options are configurable now.
Diffstat (limited to 'pkgmk.in')
-rwxr-xr-x | pkgmk.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |