summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-03-12 23:26:47 +0000
committerAaron Griffin <aaron@archlinux.org>2007-03-12 23:26:47 +0000
commit74e8b28fc34ee9b40f6b3b5daacdbe1713f3bc1f (patch)
treeaeb1d0521d58e81e404c2e368e1d4bf7c1063c18 /lib/libalpm
parent9e3a1853451230d887c3c89f49f04e502fb69621 (diff)
downloadpacman-74e8b28fc34ee9b40f6b3b5daacdbe1713f3bc1f.tar.xz
* Missed a path when requiring that all paths end with / - this caused -U not to
work (it was downloading files as .package-name) at all.
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c
index 83b38ea5..80b264a2 100644
--- a/lib/libalpm/server.c
+++ b/lib/libalpm/server.c
@@ -407,7 +407,7 @@ char *_alpm_fetch_pkgurl(char *target)
alpm_list_t *servers = alpm_list_add(NULL, server);
alpm_list_t *files = alpm_list_add(NULL, filename);
- if(_alpm_downloadfiles(servers, ".", files)) {
+ if(_alpm_downloadfiles(servers, "./", files)) {
_alpm_log(PM_LOG_WARNING, _("failed to download %s"), target);
return(NULL);
}