# HG changeset patch # User Antoine Bodin # Date 1330551886 -3600 # Node ID 2ed3cb7631cda69aa7a2f29a203a1546ef76d94c # Parent a39fd01bbc1f41933ef96ec19e498d5d0a6a75c9 Fix a long-standing bug that causes download to fails when the url of mirror was not suffixed with a slash diff -r a39fd01bbc1f -r 2ed3cb7631cd tazpkg --- a/tazpkg Wed Feb 29 22:40:10 2012 +0100 +++ b/tazpkg Wed Feb 29 22:44:46 2012 +0100 @@ -398,7 +398,7 @@ shift for i in $mirrors; do case "$i" in - http://*|ftp://*) wget -c $i$@ && break;; + http://*|ftp://*) wget -c $i/$@ && break;; *) ln -sf $i/$1 . && break;; esac done