tags 589968 pending thanks On Thu, Jul 22, 2010 at 05:42:52PM +0200, Stefan Kisdaroczi wrote: > diff -uNrp simple-cdd-0.3.13.original/tools/mirror/wget > simple-cdd-0.3.13/tools/mirror/wget > --- simple-cdd-0.3.13.original/tools/mirror/wget 2009-10-30 > 07:56:58.000000000 +0100 > +++ simple-cdd-0.3.13/tools/mirror/wget 2010-07-22 17:06:02.755530632 > +0200 > @@ -6,5 +6,7 @@ for file in $mirror_files ; do > sleep 1 > done > > +cut_dirs=$(echo -n "$wget_debian_mirror" | sed -e 's:/$::' -e 's://::' -e > 's:[^/]::g' | wc -m) > + > # download files > -wget -c -N -nv --no-parent -nH --cut-dirs=1 -r $wget_file_list -P $MIRROR > +wget -c -N -nv --no-parent -nH --cut-dirs=$cut_dirs -r $wget_file_list -P > $MIRROR
committed to bzr, should be included in next upload. live well, vagrant -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

