From db14524cf351e6f838aded07de2ae72d435ef0f3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 17 Nov 2014 16:10:55 +0100 Subject: [PATCH] xbps-query: unbreak -f/--files mode. --- bin/xbps-query/show-info-files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-query/show-info-files.c b/bin/xbps-query/show-info-files.c index a3d587d3..abbf8bbb 100644 --- a/bin/xbps-query/show-info-files.c +++ b/bin/xbps-query/show-info-files.c @@ -337,7 +337,7 @@ repo_show_pkg_files(struct xbps_handle *xhp, const char *pkg) { xbps_dictionary_t pkgd; - pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "./files.plist"); + pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "/files.plist"); if (pkgd == NULL) { if (errno != ENOTSUP && errno != ENOENT) { fprintf(stderr, "Unexpected error: %s\n", strerror(errno));