tazpkg rev 547
Fix a long-standing bug that causes download to fails when the url of mirror was not suffixed with a slash
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Feb 29 22:44:46 2012 +0100 (2012-02-29) |
parents | a39fd01bbc1f |
children | a1135796a51b |
files | tazpkg |
line diff
1.1 --- a/tazpkg Wed Feb 29 22:40:10 2012 +0100 1.2 +++ b/tazpkg Wed Feb 29 22:44:46 2012 +0100 1.3 @@ -398,7 +398,7 @@ 1.4 shift 1.5 for i in $mirrors; do 1.6 case "$i" in 1.7 - http://*|ftp://*) wget -c $i$@ && break;; 1.8 + http://*|ftp://*) wget -c $i/$@ && break;; 1.9 *) ln -sf $i/$1 . && break;; 1.10 esac 1.11 done