Address issue 44 (^C download failure)

Addressed an issue where hitting ^C during the download of part of a queue
and restarting the queue could result in a download failure. Also added a
ChangeLog item for r768.
This commit is contained in:
slakmagik 2010-04-12 01:51:57 +00:00
parent 05fd7ee8e4
commit fe7e063134
2 changed files with 6 additions and 1 deletions

View File

@ -2,6 +2,9 @@ Fri Mar 5 21:46:41 UTC 2010
Sbopkg 0.XX.X released. This version contains the following fixes and
enhancements:
*
* Addressed an apparent bash 4.1 bug that causes the 'obsolete sources'
function to break.
* Addressed issue 44 where hitting ^C during the download of part of a queue
and restarting the queue could result in a download failure.
+--------------------------+

View File

@ -2886,6 +2886,8 @@ get_source() {
mkdir -p $DLDIR
cd $DLDIR
find $DLDIR -type f | xargs rm
if [[ -z $NO_DL_LOOP ]]; then
wget $WGETFLAGS ${DOWNLOAD[$i]} >> \
$SBOPKGOUTPUT & echo "$!" >> $PIDLIST 2>> $SBOPKGOUTPUT