FS#20151 - [pkgtools] Option pkgfile --limit-rate does not work

Attached to Project: Community Packages
Opened by Mantas Mikulėnas (grawity) - Monday, 12 July 2010, 16:45 GMT
Last edited by Gavin Bisesi (Daenyth) - Monday, 12 July 2010, 20:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Gavin Bisesi (Daenyth)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Attempting to use 'pkgfile --update --limit-rate=<anything>' results in:

Updating [core] file list... wget: --limit-rate: Invalid byte value “'10k'”
Could not retrieve http://mirrors.kernel.org/archlinux/core/os/i686/core.files.tar.gz

Fix:

--- pkgfile.old 2010-07-12 19:37:27.055293856 +0300
+++ pkgfile 2010-07-12 19:37:29.318627133 +0300
@@ -414,7 +414,7 @@
fi

if [[ -n $RATELIMIT ]]; then
- RATELIMIT="--limit-rate='$RATELIMIT'"
+ RATELIMIT="--limit-rate=$RATELIMIT"
fi

case $ACTION in
This task depends upon

Closed by  Gavin Bisesi (Daenyth)
Monday, 12 July 2010, 20:28 GMT
Reason for closing:  Implemented
Additional comments about closing:  commit 9ac14f3

Loading...