From 74e8b28fc34ee9b40f6b3b5daacdbe1713f3bc1f Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Mon, 12 Mar 2007 23:26:47 +0000 Subject: * 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. --- lib/libalpm/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3-70-g09d2